[FIR] Implement UNRESOLVED_REFERENCE_WRONG_RECEIVER
This commit is contained in:
+3
-3
@@ -20,7 +20,7 @@ import test.E
|
||||
|
||||
fun foo() {
|
||||
E.Entry checkType { _<E>() }
|
||||
E.Entry checkType { <!INAPPLICABLE_CANDIDATE!>_<!><String>() }
|
||||
E.Entry checkType { <!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>_<!><String>() }
|
||||
E.Companion.Entry checkType { _<String>() }
|
||||
E.NotEntry checkType { _<String>() }
|
||||
Entry checkType { _<E>() }
|
||||
@@ -33,8 +33,8 @@ fun foo() {
|
||||
import test.E as U
|
||||
|
||||
fun bar() {
|
||||
U.Entry checkType { <!INAPPLICABLE_CANDIDATE!>_<!><<!UNRESOLVED_REFERENCE!>E<!>>() }
|
||||
U.Entry checkType { <!INAPPLICABLE_CANDIDATE!>_<!><String>() }
|
||||
U.Entry checkType { <!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>_<!><<!UNRESOLVED_REFERENCE!>E<!>>() }
|
||||
U.Entry checkType { <!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>_<!><String>() }
|
||||
U.Companion.Entry checkType { _<String>() }
|
||||
U.NotEntry checkType { _<String>() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user