Don't put outer instance twice for anonymous object extending inner
#KT-5343 In Progress
This commit is contained in:
@@ -1413,7 +1413,11 @@ public class ExpressionCodegen extends JetVisitor<StackValue, StackValue> implem
|
||||
|
||||
ResolvedCall<ConstructorDescriptor> superCall = closure.getSuperCall();
|
||||
if (superCall != null) {
|
||||
pushClosureOnStack(superCall.getResultingDescriptor().getContainingDeclaration(), putThis, callGenerator);
|
||||
pushClosureOnStack(
|
||||
superCall.getResultingDescriptor().getContainingDeclaration(),
|
||||
putThis && closure.getCaptureThis() == null,
|
||||
callGenerator
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user