FIR: introduce & use REFERENCE_BY_QUALIFIER positioning strategy
This commit is contained in:
+1
-1
@@ -11,5 +11,5 @@ public interface SLRUMap<V> {
|
||||
// FILE: main.kt
|
||||
|
||||
fun <V> SLRUMap<V>.getOrPut(value: V) {
|
||||
<!INAPPLICABLE_CANDIDATE{LT}!><!INAPPLICABLE_CANDIDATE{PSI}!>takeV<!>(value)<!>
|
||||
<!INAPPLICABLE_CANDIDATE!>takeV<!>(value)
|
||||
}
|
||||
|
||||
+2
-2
@@ -20,7 +20,7 @@ class WrappedPropertyDescriptor : PropertyDescriptor {
|
||||
fun test() {
|
||||
val descriptor = WrappedPropertyDescriptor()
|
||||
val res1 = descriptor.setter
|
||||
val res2 = descriptor.<!UNRESOLVED_REFERENCE{LT}!><!UNRESOLVED_REFERENCE{PSI}!>getSetter<!>()<!> // Should be error
|
||||
val res2 = descriptor.<!UNRESOLVED_REFERENCE!>getSetter<!>() // Should be error
|
||||
val res3 = descriptor.isDelegated
|
||||
val res4 = descriptor.<!UNRESOLVED_REFERENCE{LT}!><!UNRESOLVED_REFERENCE{PSI}!>isDelegated<!>()<!> // Should be error
|
||||
val res4 = descriptor.<!UNRESOLVED_REFERENCE!>isDelegated<!>() // Should be error
|
||||
}
|
||||
|
||||
+1
-1
@@ -10,5 +10,5 @@ class Another {}
|
||||
|
||||
fun test() {
|
||||
val some = Some()
|
||||
val another = <!UNRESOLVED_REFERENCE{LT}!><!UNRESOLVED_REFERENCE{PSI}!>Another<!>()<!>
|
||||
val another = <!UNRESOLVED_REFERENCE!>Another<!>()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user