Sfoglia il codice sorgente

A couple minor changes..

Stan Hebben 6 anni fa
parent
commit
c2737ac7b1

+ 2
- 2
JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/JavaCapturedExpressionVisitor.java Vedi File

@@ -4,9 +4,9 @@ import org.openzen.zenscript.codemodel.expression.*;
4 4
 
5 5
 public class JavaCapturedExpressionVisitor implements CapturedExpressionVisitor<Void> {
6 6
 
7
-	public final JavaExpressionVisitor expressionVisitor;
7
+	public final ExpressionVisitor<Void> expressionVisitor;
8 8
 
9
-	public JavaCapturedExpressionVisitor(JavaExpressionVisitor expressionVisitor) {
9
+	public JavaCapturedExpressionVisitor(ExpressionVisitor<Void> expressionVisitor) {
10 10
 		this.expressionVisitor = expressionVisitor;
11 11
 	}
12 12
 

+ 1
- 1
JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/JavaExpressionVisitor.java Vedi File

@@ -3432,7 +3432,7 @@ public class JavaExpressionVisitor implements ExpressionVisitor<Void>, JavaNativ
3432 3432
 				javaWriter.getStaticField(context.getJavaField(expression.getter));
3433 3433
 				return null;
3434 3434
 			}
3435
-
3435
+			
3436 3436
 			if (!checkAndExecuteMethodInfo(expression.getter, expression.type, expression))
3437 3437
 				throw new IllegalStateException("Call target has no method info!");
3438 3438
 

Loading…
Annulla
Salva