FIR. Fix smart-cast expression unwrapping in plus with assign resolve

This commit is contained in:
Simon Ogorodnik
2022-08-20 09:18:50 +02:00
committed by teamcity
parent f946496979
commit 8f51c51eee
7 changed files with 58 additions and 1 deletions
@@ -0,0 +1,11 @@
class Foo {
var bar: String? = null
fun addToBar(other: String) {
if (bar == null) {
bar = other
} else {
bar += " $other"
}
}
}