12 lines
180 B
Kotlin
Vendored
12 lines
180 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !CHECK_TYPE
|
|
|
|
val Any?.meaning: Int
|
|
get() = 42
|
|
|
|
fun test() {
|
|
val f = Any?::meaning
|
|
checkSubtype<Int>(f.get(null))
|
|
checkSubtype<Int>(f.get(""))
|
|
}
|