mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
16 lines
278 B
Kotlin
Vendored
16 lines
278 B
Kotlin
Vendored
fun test(x: Any) {
|
|
if (x !is String) return
|
|
|
|
class LocalOuter {
|
|
fun foo(y: Any) {
|
|
if (y !is String) return
|
|
class Local {
|
|
init {
|
|
<!DEBUG_INFO_SMARTCAST!>x<!>.length
|
|
<!DEBUG_INFO_SMARTCAST!>y<!>.length
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|