[FIR2IR] Don't create f/o symbols on smartcasted Nothing in dispatch receiver

^KT-63525 Fixed
This commit is contained in:
Dmitriy Novozhilov
2024-02-27 11:06:01 +02:00
committed by Space Team
parent 62e9c944fe
commit 5c632bc78e
23 changed files with 143 additions and 1 deletions
@@ -0,0 +1,14 @@
// ISSUE: KT-63525
fun box(): String {
var b: String? = "abc"
b = null
var x = 0
if (b != null) {
x += b.length
}
return when (x) {
0 -> "OK"
else -> "Fail: $x"
}
}