Files
kotlin/compiler/testData/diagnostics/tests/dataFlow/local/NestedLocalClass.kt
2015-10-14 20:39:35 +03:00

12 lines
169 B
Kotlin
Vendored

fun test(x: Any) {
if (x !is String) return
class LocalOuter {
inner class Local {
init {
<!DEBUG_INFO_SMARTCAST!>x<!>.length
}
}
}
}