Don't generate implicit overrides delegating to Java defaults

#KT-40920 Fixed
This commit is contained in:
Mikhael Bogdanov
2020-08-10 12:24:54 +02:00
parent 07aee8831e
commit 607f99ed3c
11 changed files with 339 additions and 2 deletions
@@ -16657,6 +16657,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/jvm8/defaults/kt14243_prop.kt");
}
@TestMetadata("kt40920.kt")
public void testKt40920() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/defaults/kt40920.kt");
}
@TestMetadata("oneImplementation.kt")
public void testOneImplementation() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/defaults/oneImplementation.kt");
@@ -17086,6 +17091,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/kt14243_2.kt");
}
@TestMetadata("kt40920.kt")
public void testKt40920() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/kt40920.kt");
}
@TestMetadata("privateFunInInterface.kt")
public void testPrivateFunInInterface() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/privateFunInInterface.kt");
@@ -17265,6 +17275,26 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/jvm8/javaDefaults/invokeDefaultViaSuper.kt");
}
@TestMetadata("kt40920.kt")
public void testKt40920() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/javaDefaults/kt40920.kt");
}
@TestMetadata("kt40920_java.kt")
public void testKt40920_java() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/javaDefaults/kt40920_java.kt");
}
@TestMetadata("kt40920_java2.kt")
public void testKt40920_java2() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/javaDefaults/kt40920_java2.kt");
}
@TestMetadata("kt40920_map.kt")
public void testKt40920_map() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/javaDefaults/kt40920_map.kt");
}
@TestMetadata("longChainOfKotlinExtendsFromJavaWithDefault.kt")
public void testLongChainOfKotlinExtendsFromJavaWithDefault() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/javaDefaults/longChainOfKotlinExtendsFromJavaWithDefault.kt");