[FIR2IR] Properly generate GetObject expression for callable reference on companion object

^KT-55909 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-02-02 13:03:34 +02:00
committed by Space Team
parent 80b48eed0b
commit 075e025452
13 changed files with 280 additions and 1 deletions
@@ -3952,6 +3952,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/callableReference/serializability/noReflect.kt");
}
@TestMetadata("referenceToCompanionFunction.kt")
public void testReferenceToCompanionFunction() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/serializability/referenceToCompanionFunction.kt");
}
@TestMetadata("reflectedIsNotSerialized.kt")
public void testReflectedIsNotSerialized() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/serializability/reflectedIsNotSerialized.kt");