Fix nested classes codegen bug
When constructing a closure, codegen in some cases incorrectly determined if it needed to store a reference from a nested class to the outer
This commit is contained in:
@@ -38,6 +38,11 @@ public class InnerNestedGenTestGenerated extends AbstractCodegenTest {
|
||||
doTest("compiler/testData/codegen/innerNested/createNestedClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("createdNestedInOuterMember.kt")
|
||||
public void testCreatedNestedInOuterMember() throws Exception {
|
||||
doTest("compiler/testData/codegen/innerNested/createdNestedInOuterMember.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("dataLocalVariable.kt")
|
||||
public void testDataLocalVariable() throws Exception {
|
||||
doTest("compiler/testData/codegen/innerNested/dataLocalVariable.kt");
|
||||
|
||||
Reference in New Issue
Block a user