[FIR] Fix references to generic synthetic properties

When synthetic properties are built from a substitution override,
set originalForSubstitutionOverride, too.

^KT-56251 Fixed
This commit is contained in:
Kirill Rakhman
2023-03-02 10:54:04 +01:00
committed by Space Team
parent 37760d1f2a
commit b80970b09f
14 changed files with 124 additions and 15 deletions
@@ -2743,6 +2743,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/callableReference/publicMutableField.kt");
}
@TestMetadata("referenceToGenericSyntheticProperty.kt")
public void testReferenceToGenericSyntheticProperty() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/referenceToGenericSyntheticProperty.kt");
}
@TestMetadata("staticMethod.kt")
public void testStaticMethod() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/staticMethod.kt");