Files
kotlin-fork/compiler/testData/loadJava/compiledKotlin/class/RecursiveGeneric.kt
T

10 lines
133 B
Kotlin

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