[FIR2IR] Properly generate GetObject expression for callable reference on companion object
^KT-55909 Fixed
This commit is contained in:
committed by
Space Team
parent
80b48eed0b
commit
075e025452
+6
@@ -3457,6 +3457,12 @@ public class K2NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes
|
||||
public void testAllFilesPresentInSerializability() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/serializability"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("referenceToCompanionFunction.kt")
|
||||
public void testReferenceToCompanionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/serializability/referenceToCompanionFunction.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+6
@@ -3419,6 +3419,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
public void testAllFilesPresentInSerializability() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/serializability"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("referenceToCompanionFunction.kt")
|
||||
public void testReferenceToCompanionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/serializability/referenceToCompanionFunction.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user