[FIR] Fix exception in scopes caused by property and extension property with the same name in KJK hierarchy

#KT-65373 Fixed
This commit is contained in:
Kirill Rakhman
2024-01-30 12:21:30 +01:00
committed by Space Team
parent 9688865953
commit d937fb4350
8 changed files with 181 additions and 11 deletions
@@ -22074,6 +22074,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/j+k/KJKInheritanceGeneric.kt");
}
@Test
@TestMetadata("kjkPropertyAndExtensionProperty.kt")
public void testKjkPropertyAndExtensionProperty() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/kjkPropertyAndExtensionProperty.kt");
}
@Test
@TestMetadata("kt1402.kt")
public void testKt1402() throws Exception {
@@ -22074,6 +22074,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/j+k/KJKInheritanceGeneric.kt");
}
@Test
@TestMetadata("kjkPropertyAndExtensionProperty.kt")
public void testKjkPropertyAndExtensionProperty() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/kjkPropertyAndExtensionProperty.kt");
}
@Test
@TestMetadata("kt1402.kt")
public void testKt1402() throws Exception {