[FIR] Fix resolving to star import member instead of builtin (^KT-48157 Fixed)

This commit is contained in:
Ivan Kochurkin
2021-08-19 22:43:57 +03:00
committed by Space
parent bb27ae2b42
commit 34cc7e5199
23 changed files with 262 additions and 137 deletions
@@ -24117,6 +24117,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/resolve/resolveAnnotatedLambdaArgument.kt");
}
@Test
@TestMetadata("resolveToStarImportMemberInsteadOfBuiltin.kt")
public void testResolveToStarImportMemberInsteadOfBuiltin() throws Exception {
runTest("compiler/testData/diagnostics/tests/resolve/resolveToStarImportMemberInsteadOfBuiltin.kt");
}
@Test
@TestMetadata("resolveTypeArgsForUnresolvedCall.kt")
public void testResolveTypeArgsForUnresolvedCall() throws Exception {
@@ -1,2 +1,2 @@
Resolved to:
0: (in <local>: test) class Conflict
0: (in test.Conflict) companion object
@@ -1,2 +1,2 @@
Resolved to:
0: (in <local>: test) class Conflict
0: (in test) object Conflict