[FIR] Fix FindReferencePositioningStrategy for light tree
There was a problem which causes to lookup for assign token inside functions from arguments of call
This commit is contained in:
committed by
teamcity
parent
ade2307345
commit
6f64aedaf0
Vendored
+1
-1
@@ -14,7 +14,7 @@ fun <T> id(x: T) = x
|
||||
fun main() {
|
||||
var newValue = A()
|
||||
newValue <!ASSIGN_OPERATOR_AMBIGUITY!>+=<!> id { total -> A() }
|
||||
<!ASSIGN_OPERATOR_AMBIGUITY!>newValue<!> += id(fun(total) = A())
|
||||
newValue <!ASSIGN_OPERATOR_AMBIGUITY!>+=<!> id(fun(total) = A())
|
||||
newValue <!ASSIGN_OPERATOR_AMBIGUITY!>+=<!> id(fun(total): A { return A() })
|
||||
newValue <!ASSIGN_OPERATOR_AMBIGUITY!>+=<!> id(::foo)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user