mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
11 lines
169 B
Kotlin
Vendored
11 lines
169 B
Kotlin
Vendored
//ALLOW_AST_ACCESS
|
|
// !LANGUAGE: +NewInference
|
|
package test
|
|
|
|
interface Rec<R, out T: Rec<R, T>> {
|
|
fun t(): T
|
|
}
|
|
|
|
interface Super {
|
|
fun foo(p: Rec<*, *>) = p.t()
|
|
} |