This commit is contained in:
Jochen Seyfried 2024-07-05 10:54:43 +02:00
parent 3b5f157bb5
commit 5b4d08ba01

View File

@ -166,7 +166,7 @@ public class AssignStatementExpression extends AbstractType implements IExpressi
currentType = typeContext.get(typeOfPrevious).get(instVar.fieldName); currentType = typeContext.get(typeOfPrevious).get(instVar.fieldName);
String descriptor = getFieldDescriptor(currentType, typeContext, instVar.fieldName, thisClass); String descriptor = getFieldDescriptor(currentType, typeContext, instVar.fieldName, typeOfPrevious);
mv.visitFieldInsn(Opcodes.PUTFIELD, typeOfPrevious, instVar.fieldName, descriptor); mv.visitFieldInsn(Opcodes.PUTFIELD, typeOfPrevious, instVar.fieldName, descriptor);
continue; continue;
} else { } else {