[JS IR] Fix creating of classes extended from nested one

[JS IR] Extract getClassRef method

 ^KT-44950 fixed
This commit is contained in:
Ilya Goncharov
2021-03-15 18:00:28 +03:00
committed by TeamCityServer
parent a61312120b
commit 88abb3d6c9
12 changed files with 76 additions and 33 deletions
@@ -14349,6 +14349,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/innerNested/createdNestedInOuterMember.kt");
}
@TestMetadata("extenderNestedClass.kt")
public void testExtenderNestedClass() throws Exception {
runTest("compiler/testData/codegen/box/innerNested/extenderNestedClass.kt");
}
@TestMetadata("extensionFun.kt")
public void testExtensionFun() throws Exception {
runTest("compiler/testData/codegen/box/innerNested/extensionFun.kt");
@@ -13806,6 +13806,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/innerNested/createdNestedInOuterMember.kt");
}
@TestMetadata("extenderNestedClass.kt")
public void testExtenderNestedClass() throws Exception {
runTest("compiler/testData/codegen/box/innerNested/extenderNestedClass.kt");
}
@TestMetadata("extensionFun.kt")
public void testExtensionFun() throws Exception {
runTest("compiler/testData/codegen/box/innerNested/extensionFun.kt");
@@ -13871,6 +13871,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/innerNested/createdNestedInOuterMember.kt");
}
@TestMetadata("extenderNestedClass.kt")
public void testExtenderNestedClass() throws Exception {
runTest("compiler/testData/codegen/box/innerNested/extenderNestedClass.kt");
}
@TestMetadata("extensionFun.kt")
public void testExtensionFun() throws Exception {
runTest("compiler/testData/codegen/box/innerNested/extensionFun.kt");
@@ -7927,6 +7927,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/innerNested/createdNestedInOuterMember.kt");
}
@TestMetadata("extenderNestedClass.kt")
public void testExtenderNestedClass() throws Exception {
runTest("compiler/testData/codegen/box/innerNested/extenderNestedClass.kt");
}
@TestMetadata("extensionFun.kt")
public void testExtensionFun() throws Exception {
runTest("compiler/testData/codegen/box/innerNested/extensionFun.kt");