Browse Source

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

jared 5 years ago
parent
commit
8d01795f91

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

874
 				break;
874
 				break;
875
 			case ASSOC_INDEXGET:
875
 			case ASSOC_INDEXGET:
876
 			case ASSOC_GETORDEFAULT: {
876
 			case ASSOC_GETORDEFAULT: {
877
-				javaWriter.invokeVirtual(MAP_GET);
877
+				javaWriter.invokeInterface(MAP_GET);
878
 
878
 
879
 				AssocTypeID type = (AssocTypeID) expression.target.type.type;
879
 				AssocTypeID type = (AssocTypeID) expression.target.type.type;
880
 				javaWriter.checkCast(context.getInternalName(type.valueType));
880
 				javaWriter.checkCast(context.getInternalName(type.valueType));

Loading…
Cancel
Save