mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
13 lines
206 B
Kotlin
Vendored
13 lines
206 B
Kotlin
Vendored
fun test(x: Any?) {
|
|
if (x !is String) return
|
|
|
|
class C {
|
|
val v = x.<!UNRESOLVED_REFERENCE!>length<!>
|
|
|
|
val vGet: Int
|
|
get() = x.<!UNRESOLVED_REFERENCE!>length<!>
|
|
|
|
val s: String = x
|
|
}
|
|
}
|