[FIR IDE] Fix resolving sugared compound operators (like +=, -=)
^KTIJ-21374 Fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// UNRESOLVED_REFERENCE
|
||||
package test
|
||||
|
||||
interface Foo
|
||||
|
||||
interface WithOperator {
|
||||
operator fun plus(f: Foo): WithOperator
|
||||
}
|
||||
|
||||
fun test(withOperator: WithOperator, foo: Foo) {
|
||||
var variable = withOperator
|
||||
variable <caret>= variable + foo
|
||||
}
|
||||
Reference in New Issue
Block a user