some changes + on macos now

This commit is contained in:
Simon Kellet
2023-10-31 09:43:50 +00:00
parent c505b9cb2c
commit 69a24132d3
8 changed files with 175 additions and 94 deletions
@@ -600,9 +600,13 @@ public class ConstantFolder implements ActualParameterVisitor<Void, AbstractSynt
ie.type = StdEnvironment.integerType;
return ie;
} else if (foldedValue instanceof Boolean) {
//Task 7?
System.out.println("Boolean Expr. ");
/* currently not handled! */
}
}
} else {
//?
}
// any unhandled situation (i.e., not foldable) is ignored
return null;