mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
10 lines
133 B
Kotlin
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()
|
|
} |