瀏覽代碼

Update 'JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/JavaExpressionVisitor.java'

jared 5 年之前
父節點
當前提交
8d01795f91

+ 1
- 1
JavaBytecodeCompiler/src/main/java/org/openzen/zenscript/javabytecode/compiler/JavaExpressionVisitor.java 查看文件

@@ -874,7 +874,7 @@ public class JavaExpressionVisitor implements ExpressionVisitor<Void>, JavaNativ
874 874
 				break;
875 875
 			case ASSOC_INDEXGET:
876 876
 			case ASSOC_GETORDEFAULT: {
877
-				javaWriter.invokeVirtual(MAP_GET);
877
+				javaWriter.invokeInterface(MAP_GET);
878 878
 
879 879
 				AssocTypeID type = (AssocTypeID) expression.target.type.type;
880 880
 				javaWriter.checkCast(context.getInternalName(type.valueType));

Loading…
取消
儲存