FIR checker: fix REFERENCE_BY_QUALIFIED positioning strategy to consider callable reference
This commit is contained in:
committed by
Mikhail Glukhikh
parent
8d8ed4cc18
commit
bfc7eb7bab
+2
-2
@@ -13,10 +13,10 @@ fun wrong(arg: Wrong) {}
|
||||
class Wrong
|
||||
|
||||
class Right {
|
||||
val prop: () -> Unit by <!UNRESOLVED_REFERENCE!>::wrong<!>
|
||||
val prop: () -> Unit by ::<!UNRESOLVED_REFERENCE!>wrong<!>
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
Right().prop()
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user