10 lines
198 B
Kotlin
Vendored
10 lines
198 B
Kotlin
Vendored
public fun bar(s: String) {
|
|
System.out.println("Length of $s is ${s.length}")
|
|
}
|
|
|
|
public fun foo() {
|
|
var s: Any = "not null"
|
|
if (s is String)
|
|
bar(<!DEBUG_INFO_SMARTCAST!>s<!>)
|
|
}
|