K2: add test for KT-56520, case (7), qualifier receivers (1)
Again, both frontends here ignored classifiers from explicit star imported scope (some.HashMap, java.util.HashMap) because of their ambiguity. In case of K2, it works so due to logic in BodyResolveComponents.resolveRootPartOfQualifier. This function is called to resolve qualifier without receiver
This commit is contained in:
committed by
Space Team
parent
22d083a7a9
commit
168717b811
+6
@@ -44779,6 +44779,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/resolve/ambiguousTypeReferences/constructorCaseSpace.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifierForStaticCase.kt")
|
||||
public void testQualifierForStaticCase() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/resolve/ambiguousTypeReferences/qualifierForStaticCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeCase.kt")
|
||||
public void testTypeCase() throws Exception {
|
||||
|
||||
+6
@@ -44779,6 +44779,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/resolve/ambiguousTypeReferences/constructorCaseSpace.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifierForStaticCase.kt")
|
||||
public void testQualifierForStaticCase() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/resolve/ambiguousTypeReferences/qualifierForStaticCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeCase.kt")
|
||||
public void testTypeCase() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user