JVM IR: Handle suspend interface default methods with generic types (KT-45166)

This commit is contained in:
Steven Schäfer
2021-04-09 13:51:37 +02:00
committed by Alexander Udalov
parent 7d62f0b5aa
commit 7a9ff15d73
9 changed files with 67 additions and 11 deletions
@@ -6605,6 +6605,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@TestMetadata("interfaceGenericDefault.kt")
public void testInterfaceGenericDefault() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/bridges/interfaceGenericDefault.kt");
}
@TestMetadata("interfaceSpecialization.kt")
public void testInterfaceSpecialization() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/bridges/interfaceSpecialization.kt");
@@ -6026,6 +6026,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@TestMetadata("interfaceGenericDefault.kt")
public void testInterfaceGenericDefault() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/bridges/interfaceGenericDefault.kt");
}
@TestMetadata("interfaceSpecialization.kt")
public void testInterfaceSpecialization() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/bridges/interfaceSpecialization.kt");
@@ -6026,6 +6026,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@TestMetadata("interfaceGenericDefault.kt")
public void testInterfaceGenericDefault() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/bridges/interfaceGenericDefault.kt");
}
@TestMetadata("interfaceSpecialization.kt")
public void testInterfaceSpecialization() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/bridges/interfaceSpecialization.kt");