2ecba6ac39
This directive anyway does not make test run twice with OI, and with NI It only once run the test with specific settings (// LANGUAGE) and ignores irrelevant (OI or NI tags)
20 lines
344 B
Kotlin
Vendored
20 lines
344 B
Kotlin
Vendored
// !CHECK_TYPE
|
|
// NI_EXPECTED_FILE
|
|
|
|
val x get() = x
|
|
|
|
class A {
|
|
val y get() = y
|
|
|
|
val a get() = b
|
|
val b get() = a
|
|
|
|
val z1 get() = id(<!ARGUMENT_TYPE_MISMATCH!>z1<!>)
|
|
val z2 get() = l(<!ARGUMENT_TYPE_MISMATCH!>z2<!>)
|
|
|
|
val u get() = <!UNRESOLVED_REFERENCE!>field<!>
|
|
}
|
|
|
|
fun <E> id(x: E) = x
|
|
fun <E> l(x: E): List<E> = null!!
|