11 lines
243 B
Kotlin
Vendored
11 lines
243 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
public fun foo() {
|
|
var i: Int? = 1
|
|
if (i != null) {
|
|
while (i != 10) {
|
|
i<!UNSAFE_CALL!>++<!> // Here smart cast should not be performed due to a successor
|
|
i = null
|
|
}
|
|
}
|
|
}
|