FIR: Report UNSAFE_OPERATOR_CALL for augmented assignments (was

reporting UNSAFE_CALL).
This commit is contained in:
Mark Punzalan
2021-05-25 17:56:59 +00:00
committed by teamcityserver
parent ef923d4cfe
commit 32bb64a225
12 changed files with 93 additions and 12 deletions
@@ -6,6 +6,4 @@ class A {
fun foo(b: A) {
var a: A? = A()
a <caret>+= b
}
/* IGNORE_FIR */
}
@@ -6,6 +6,4 @@ class A {
fun foo(b: A) {
var a: A? = A()
a?.plusAssign(b)
}
/* IGNORE_FIR */
}