7 lines
203 B
Kotlin
Vendored
7 lines
203 B
Kotlin
Vendored
fun foo() {
|
|
var v: String? = "xyz"
|
|
// It is possible in principle to provide smart cast here
|
|
v<!UNSAFE_CALL!>.<!>length
|
|
v = null
|
|
<!DEBUG_INFO_CONSTANT!>v<!><!UNSAFE_CALL!>.<!>length
|
|
} |