report UNRESOLVED_REFERENCE_WRONG_RECEIVER
mentioning candidates with wrong receiver
This commit is contained in:
@@ -9,9 +9,9 @@ class Customer(name: String)
|
||||
fun foo(f: File, c: Customer) {
|
||||
f.name
|
||||
|
||||
c.<!UNRESOLVED_REFERENCE!>name<!> // name should be unresolved here
|
||||
c.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>name<!> // name should be unresolved here
|
||||
}
|
||||
|
||||
//from standard library
|
||||
val File.name: String
|
||||
get() = getName()
|
||||
get() = getName()
|
||||
Reference in New Issue
Block a user