d869ae7826
Run different phases through common transformers sequentially It should make code more reusable and may help with avoid common bugs
16 lines
224 B
Kotlin
Vendored
16 lines
224 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 {
|
|
x.length
|
|
y.length
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|