Files
kotlin-fork/compiler/testData/compileKotlinAgainstKotlin/RecursiveGeneric.A.kt
T
2015-03-11 19:38:14 +03:00

9 lines
111 B
Kotlin

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