10 lines
172 B
Kotlin
Vendored
10 lines
172 B
Kotlin
Vendored
// !CHECK_TYPE
|
|
// !WITH_NEW_INFERENCE
|
|
interface Tr<T> {
|
|
var v: Tr<T>
|
|
}
|
|
|
|
fun test(t: Tr<*>) {
|
|
t.v = t
|
|
t.v checkType { <!INAPPLICABLE_CANDIDATE!>_<!><Tr<*>>() }
|
|
} |