compiler testdata: s/trait/interface
This commit is contained in:
@@ -2,13 +2,13 @@ open class A {
|
||||
open fun foo(): Any = "A"
|
||||
}
|
||||
|
||||
trait B : A
|
||||
interface B : A
|
||||
|
||||
open class C : A() {
|
||||
override fun foo(): Int = 222
|
||||
}
|
||||
|
||||
trait D {
|
||||
interface D {
|
||||
fun foo(): Number
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user