- Basic types can now be converted to the "any" type

- Changed OreDict 'contains' to respond to the 'in' operator
This commit is contained in:
Stan Hebben committed 2014-07-20 21:30:40 +02:00
1 parent 52f92dcfd4
commit 1b72abb2b4
59 files changed
+3595 -976

No files matched your search

@@ -29,7 +29,7 @@ public class ExpressionArithmeticCompare extends Expression {
@Override
public ZenType getType() {
return ZenTypeBool.INSTANCE;
return ZenType.BOOL;
}
@Override
@@ -39,7 +39,7 @@ public class ExpressionArithmeticCompare extends Expression {
if (result) {
MethodOutput output = environment.getOutput();
if (a.getType() == ZenTypeBool.INSTANCE) {
if (a.getType() == ZenType.BOOL) {
if (type == CompareType.EQ) {
Label onThen = new Label();
Label onEnd = new Label();