mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
11 lines
205 B
Kotlin
11 lines
205 B
Kotlin
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(<!DEBUG_INFO_SMARTCAST!>x<!>, <!DEBUG_INFO_SMARTCAST!>y<!>) {
|
|
}
|
|
}
|
|
|