Files
kotlin-fork/compiler/testData/compileKotlinAgainstKotlin/RecursiveGeneric.A.kt
T
2015-05-12 19:43:17 +02:00

9 lines
119 B
Kotlin
Vendored

package a
interface Rec<R, out T: Rec<R, T>> {
fun t(): T
}
interface Super {
fun foo(p: Rec<*, *>) = p.t()
}