[FIR2IR] Don't create f/o symbols on smartcasted Nothing in dispatch receiver
^KT-63525 Fixed
This commit is contained in:
committed by
Space Team
parent
62e9c944fe
commit
5c632bc78e
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user