compiler testdata: s/trait/interface
This commit is contained in:
@@ -7,6 +7,6 @@ enum class E : T {
|
||||
abstract override fun f()
|
||||
}
|
||||
|
||||
trait T {
|
||||
interface T {
|
||||
fun f()
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
trait T1 {
|
||||
interface T1 {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ enum class EnumImplementingTraitWithFun: T1 {
|
||||
<!ABSTRACT_MEMBER_NOT_IMPLEMENTED!>E2<!>
|
||||
}
|
||||
|
||||
trait T2 {
|
||||
interface T2 {
|
||||
val bar: Int
|
||||
}
|
||||
|
||||
|
||||
@@ -7,5 +7,5 @@ open class MyClass() {}
|
||||
|
||||
enum class MyEnumBase() {}
|
||||
|
||||
trait MyTrait {}
|
||||
interface MyTrait {}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ class A {
|
||||
|
||||
<!ILLEGAL_ENUM_ANNOTATION!>enum<!> object O {}
|
||||
|
||||
<!ILLEGAL_ENUM_ANNOTATION!>enum<!> trait T {}
|
||||
<!ILLEGAL_ENUM_ANNOTATION!>enum<!> interface T {}
|
||||
|
||||
<!ILLEGAL_ENUM_ANNOTATION!>enum<!> fun f() = 0
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait A {
|
||||
interface A {
|
||||
enum class E {
|
||||
ENTRY
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user