10 lines
202 B
Kotlin
Vendored
10 lines
202 B
Kotlin
Vendored
fun foo(x: Any?) {
|
|
if (x is String) {
|
|
object : Base(<!DEBUG_INFO_SMARTCAST!>x<!>) {
|
|
fun bar() = <!DEBUG_INFO_SMARTCAST!>x<!>.length
|
|
}
|
|
}
|
|
}
|
|
|
|
open class Base(s: String)
|