mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
compiler testdata: s/trait/interface
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
//ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
trait Rec<R, out T: Rec<R, T>> {
|
||||
interface Rec<R, out T: Rec<R, T>> {
|
||||
fun t(): T
|
||||
}
|
||||
|
||||
trait Super {
|
||||
interface Super {
|
||||
fun foo(p: Rec<*, *>) = p.t()
|
||||
}
|
||||
Reference in New Issue
Block a user