FIR: Fix test data after making LHS of assignment an expression

KT-54648
This commit is contained in:
Kirill Rakhman
2023-01-16 09:55:03 +01:00
committed by Space Team
parent ace47c06a5
commit 1eb18f13bd
68 changed files with 372 additions and 117 deletions
@@ -0,0 +1,8 @@
// FIR_IDENTICAL
class A {
var b = 1
}
fun Any.test() {
(this as A).b += 1 <!USELESS_CAST!>as Int<!>
}