Files
Brian Norman 6df97dd199 [FIR] Add test cases to prove resolution of backlog tickets
^KT-41728 Fixed
^KT-46586 Fixed
^KT-49696 Fixed
^KT-51160 Fixed
^KT-53308 Fixed
2023-11-09 19:28:26 +00:00

16 lines
263 B
Kotlin
Vendored

// WITH_STDLIB
// ISSUE: KT-46586
inline fun run(block: () -> Unit) = block()
fun test() {
var label: String? = null
run {
label = "zzz"
}
if (label == null) {
label = "zzz"
}
<!SMARTCAST_IMPOSSIBLE!>label<!>.isBlank()
}