11 lines
151 B
Kotlin
Vendored
11 lines
151 B
Kotlin
Vendored
open class Base(x: String, y: Int)
|
|
|
|
fun test(x: Any, y: Int?) {
|
|
if (x !is String) return
|
|
if (y == null) return
|
|
|
|
class Local: Base(x, y) {
|
|
}
|
|
}
|
|
|