From f7048d47b57ff21e03fd10f7917d87b2fd6c2dbb Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 27 Dec 2023 16:11:21 +0000 Subject: Fix target type for int comparison operations --- src/main/java/org/shedlang/compiler/shidtopatio/ShidToPatio.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/org/shedlang/compiler/shidtopatio/ShidToPatio.java b/src/main/java/org/shedlang/compiler/shidtopatio/ShidToPatio.java index 19af1806..6efa93e9 100644 --- a/src/main/java/org/shedlang/compiler/shidtopatio/ShidToPatio.java +++ b/src/main/java/org/shedlang/compiler/shidtopatio/ShidToPatio.java @@ -844,7 +844,7 @@ public class ShidToPatio { (target, left, right, operationContext) -> { var targetBoolResult = operationContext.allocateVal( ShidToPatioLocalSpace.TEMPORARY, - PatioTypes.INT + PatioTypes.BOOL ); var targetBool = targetBoolResult.value(); operationContext = targetBoolResult.context(); -- cgit v1.2.3