KT-3573 "Error generating primary constructor" when trying to use "this" in extensions from constructors
#KT-3573 Fixed
This commit is contained in:
@@ -1260,7 +1260,7 @@ public class ImplementationBodyCodegen extends ClassBodyCodegen {
|
||||
else {
|
||||
assert descriptor instanceof CallableDescriptor;
|
||||
if (context.getCallableDescriptorWithReceiver() != descriptor) {
|
||||
context.lookupInContext(descriptor, null, state, false);
|
||||
context.lookupInContext(descriptor, null, state, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user