IR: don't produce fake overrides for static and private declarations
Note that only irrelevantStaticProperty.kt failed before this change. Having private declarations caused no problems, but it seems incorrect, so it's fixed now and irrelevantPrivateDeclarations is added just in case. #KT-41848 Fixed
This commit is contained in:
+10
@@ -13294,6 +13294,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/funInterface/intersectionTypeToFunInterfaceConversion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("irrelevantPrivateDeclarations.kt")
|
||||
public void testIrrelevantPrivateDeclarations() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/funInterface/irrelevantPrivateDeclarations.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("multimodule.kt")
|
||||
public void testMultimodule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/funInterface/multimodule.kt");
|
||||
@@ -30841,6 +30846,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/sam/inlinedSamWrapper.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("irrelevantStaticProperty.kt")
|
||||
public void testIrrelevantStaticProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sam/irrelevantStaticProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt17091.kt")
|
||||
public void testKt17091() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sam/kt17091.kt");
|
||||
|
||||
Reference in New Issue
Block a user