PSI2IR KT-45022 object in LHS of compound assignment

This commit is contained in:
Dmitry Petrov
2021-02-18 17:18:10 +03:00
parent 05447ce0c8
commit 744a0fcd25
15 changed files with 148 additions and 0 deletions
@@ -0,0 +1,8 @@
fun box(): String {
X += 1
return "OK"
}
object X {
operator fun plusAssign(any: Any) = Unit
}