[FIR IDE] Fix resolving sugared compound operators (like +=, -=)

^KTIJ-21374 Fixed
This commit is contained in:
Roman Golyshev
2022-03-21 18:46:50 +04:00
committed by Space
parent 51bb548aef
commit 22830cf159
8 changed files with 101 additions and 5 deletions
@@ -0,0 +1,12 @@
package test
interface Foo
interface WithOperator {
operator fun plus(f: Foo): WithOperator
}
fun test(withOperator: WithOperator, foo: Foo) {
var variable = withOperator
variable <caret>+= foo
}