format all the things!

This commit is contained in:
jaredlll08 committed 2015-08-31 19:15:35 +02:00
1 parent 54ec75fd3d
commit b36c6dade6
377 files changed
+6833 -6772

No files matched your search

@@ -16,10 +16,10 @@ import stanhebben.zenscript.util.ZenPosition;
public class ExpressionArithmeticUnary extends Expression {
private final Expression base;
private final OperatorType operator;
public ExpressionArithmeticUnary(ZenPosition position, OperatorType operator, Expression base) {
super(position);
this.base = base;
this.operator = operator;
}
@@ -32,7 +32,7 @@ public class ExpressionArithmeticUnary extends Expression {
@Override
public void compile(boolean result, IEnvironmentMethod environment) {
base.compile(result, environment);
MethodOutput output = environment.getOutput();
if (result) {
ZenType type = base.getType();
@@ -69,7 +69,7 @@ public class ExpressionArithmeticUnary extends Expression {
}
}
}
environment.error(getPosition(), "Invalid operation");
}
}