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
@@ -4,10 +4,10 @@ class Your {
|
||||
|
||||
class My {
|
||||
fun foo() {
|
||||
val x = <!UNRESOLVED_REFERENCE!>::Nested<!> // Should be error
|
||||
val x = ::<!UNRESOLVED_REFERENCE!>Nested<!> // Should be error
|
||||
}
|
||||
}
|
||||
|
||||
fun Your.foo() {
|
||||
val x = <!UNRESOLVED_REFERENCE!>::Nested<!> // Still should be error
|
||||
val x = ::<!UNRESOLVED_REFERENCE!>Nested<!> // Still should be error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user