FIR: prioritize visible imported classes during type resolution
and produce an error on ambiguity.
This commit is contained in:
+2
-2
@@ -29,6 +29,6 @@ fun test() {
|
||||
<!AMBIGUITY!>Cls<!>()
|
||||
take(<!AMBIGUITY!>Cls<!>())
|
||||
|
||||
Cls2()
|
||||
take(Cls2())
|
||||
<!UNRESOLVED_REFERENCE!>Cls2<!>()
|
||||
take(<!UNRESOLVED_REFERENCE!>Cls2<!>())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user