9 lines
174 B
Kotlin
Vendored
9 lines
174 B
Kotlin
Vendored
// !CHECK_TYPE
|
|
val x get() = null
|
|
val <!IMPLICIT_NOTHING_PROPERTY_TYPE!>y<!> get() = null!!
|
|
|
|
fun foo() {
|
|
x checkType { _<Nothing?>() }
|
|
y checkType { _<Nothing>() }
|
|
}
|