mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 08:31:29 +00:00
11 lines
251 B
Kotlin
Vendored
11 lines
251 B
Kotlin
Vendored
open class Base(<!UNUSED_PARAMETER!>x<!>: String, <!UNUSED_PARAMETER!>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<!>) {
|
|
}
|
|
}
|
|
|