Support extensions in functional supertypes

Under a flag for now.
This commit is contained in:
Ilmir Usmanov
2021-10-13 00:18:27 +02:00
committed by teamcityserver
parent 10101dc2b4
commit 3f8fa3149b
17 changed files with 118 additions and 2 deletions
@@ -11408,6 +11408,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/extensionFunctions/executionOrder.kt");
}
@TestMetadata("extensionFunctionAsSupertype.kt")
public void testExtensionFunctionAsSupertype() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/extensionFunctionAsSupertype.kt");
}
@TestMetadata("kt1061.kt")
public void testKt1061() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/kt1061.kt");
@@ -10814,6 +10814,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/extensionFunctions/executionOrder.kt");
}
@TestMetadata("extensionFunctionAsSupertype.kt")
public void testExtensionFunctionAsSupertype() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/extensionFunctionAsSupertype.kt");
}
@TestMetadata("kt1061.kt")
public void testKt1061() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/kt1061.kt");
@@ -10779,6 +10779,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/extensionFunctions/executionOrder.kt");
}
@TestMetadata("extensionFunctionAsSupertype.kt")
public void testExtensionFunctionAsSupertype() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/extensionFunctionAsSupertype.kt");
}
@TestMetadata("kt1061.kt")
public void testKt1061() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/kt1061.kt");
@@ -10075,6 +10075,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/extensionFunctions/executionOrder.kt");
}
@TestMetadata("extensionFunctionAsSupertype.kt")
public void testExtensionFunctionAsSupertype() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/extensionFunctionAsSupertype.kt");
}
@TestMetadata("kt1061.kt")
public void testKt1061() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/kt1061.kt");