JS: fix referencing outer class from secondary constructor

See KT-21041
This commit is contained in:
Alexey Andreev
2017-11-08 20:42:19 +03:00
parent 88441da131
commit ec8adfe7c4
7 changed files with 100 additions and 30 deletions
@@ -10151,6 +10151,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("passingOuterRef.kt")
public void testPassingOuterRef() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/innerNested/passingOuterRef.kt");
doTest(fileName);
}
@TestMetadata("protectedNestedClass.kt")
public void testProtectedNestedClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/innerNested/protectedNestedClass.kt");