FIR. Fix smart-cast expression unwrapping in plus with assign resolve
This commit is contained in:
committed by
teamcity
parent
f946496979
commit
8f51c51eee
+11
@@ -0,0 +1,11 @@
|
||||
class Foo {
|
||||
var bar: String? = null
|
||||
|
||||
fun addToBar(other: String) {
|
||||
if (bar == null) {
|
||||
bar = other
|
||||
} else {
|
||||
bar += " $other"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user