FIR: Fix ambiguity between current Companion and one from supertypes
Companion as qualifier should be found at static scope not a member one
This commit is contained in:
Vendored
+2
-2
@@ -32,8 +32,8 @@ fun testY() {
|
||||
|
||||
fun test(x: X) {
|
||||
val interface_as_fun = x.<!UNRESOLVED_REFERENCE!>A<!>()
|
||||
val interface_as_val = x.A
|
||||
val interface_as_val = x.<!UNRESOLVED_REFERENCE!>A<!>
|
||||
|
||||
val object_as_fun = x.<!UNRESOLVED_REFERENCE!>B<!>()
|
||||
val class_as_val = x.C
|
||||
val class_as_val = x.<!UNRESOLVED_REFERENCE!>C<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user