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:
+3
-3
@@ -33,12 +33,12 @@ enum class C {
|
||||
}
|
||||
|
||||
fun f() {
|
||||
C.E1.A
|
||||
C.E1.<!UNRESOLVED_REFERENCE!>A<!>
|
||||
C.E1.<!UNRESOLVED_REFERENCE!>A<!>()
|
||||
C.E2.B()
|
||||
|
||||
C.E2.O
|
||||
C.E3.O.InO
|
||||
C.E2.<!UNRESOLVED_REFERENCE!>O<!>
|
||||
C.E3.<!UNRESOLVED_REFERENCE!>O<!>.<!UNRESOLVED_REFERENCE!>InO<!>
|
||||
|
||||
C.O
|
||||
C.O.InO
|
||||
|
||||
Reference in New Issue
Block a user