99454aa78d
Currently behavior is undesired, it will be fixed in the next commit (see KT-27084)
9 lines
207 B
Kotlin
Vendored
9 lines
207 B
Kotlin
Vendored
fun main(args: Array<String>) {
|
|
var result: String? = null
|
|
var i = 0
|
|
while (result == null) {
|
|
if (i == 10) result = "non null"
|
|
else i++
|
|
}
|
|
result<!UNSAFE_CALL!>.<!>length
|
|
} |