compiler testdata: s/trait/interface

This commit is contained in:
Dmitry Jemerov
2015-05-12 12:38:49 +02:00
parent a5ed5d4269
commit 4bdf598bfe
803 changed files with 1456 additions and 1456 deletions
@@ -1,8 +1,8 @@
trait B {
interface B {
fun getX() = 1
}
trait D {
interface D {
val x: Int
}
@@ -1,4 +1,4 @@
trait B {
interface B {
fun getX() = 1
}
@@ -2,6 +2,6 @@ open class C {
val x = 1
}
trait Tr : <!TRAIT_WITH_SUPERCLASS!>C<!> {
interface Tr : <!TRAIT_WITH_SUPERCLASS!>C<!> {
<!ACCIDENTAL_OVERRIDE!>fun getX()<!> = 1
}
@@ -1,4 +1,4 @@
trait T {
interface T {
fun getX() = 1
}
@@ -1,8 +1,8 @@
trait T {
interface T {
fun getX() = 1
}
trait C : T {
interface C : T {
val x: Int
<!ACCIDENTAL_OVERRIDE!>get()<!> = 1
}
@@ -1,4 +1,4 @@
trait T {
interface T {
fun getX(): Int
}
@@ -1,4 +1,4 @@
trait T {
interface T {
val x: Int
get() = 1
}
@@ -1,8 +1,8 @@
trait T {
interface T {
val x: Int
get() = 1
}
trait C : T {
interface C : T {
<!ACCIDENTAL_OVERRIDE!>fun getX()<!> = 1
}
@@ -1,4 +1,4 @@
trait T {
interface T {
val x: Int
}