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,10 +1,10 @@
package test
trait X {
interface X {
fun foo()
}
trait Y : X {
interface Y : X {
}
class B(val a: X) : X by a, Y {
@@ -1,14 +1,14 @@
package test
public trait Super1 {
public interface Super1 {
public fun foo(): CharSequence
private fun bar(): String
}
public trait Super2 {
public interface Super2 {
private fun foo(): String
public fun bar(): CharSequence
}
public trait Sub: Super1, Super2 {
public interface Sub: Super1, Super2 {
}
@@ -1,14 +1,14 @@
package test
public trait Super1 {
public interface Super1 {
val x: String
var y: String
}
public trait Super2 {
public interface Super2 {
var x: String
val y: String
}
public trait Sub: Super1, Super2 {
public interface Sub: Super1, Super2 {
}
@@ -1,14 +1,14 @@
package test
public trait Super1 {
public interface Super1 {
val x: String
val y: CharSequence
}
public trait Super2 {
public interface Super2 {
val x: CharSequence
val y: String
}
public trait Sub: Super1, Super2 {
public interface Sub: Super1, Super2 {
}
@@ -4,7 +4,7 @@ abstract class A {
abstract fun foo()
}
trait X : A {
interface X : A {
fun bar() {
}
}
@@ -1,6 +1,6 @@
package test
public trait TaskObject {
public interface TaskObject {
fun foo(r: Runnable)
}
@@ -1,5 +1,5 @@
package test
public trait Runnable {
public interface Runnable {
fun run()
}
@@ -1,6 +1,6 @@
package test
trait A {
interface A {
fun foo() {}
fun bar() {}
@@ -1,7 +1,7 @@
package test
trait Foo
trait Bar
interface Foo
interface Bar
fun <T> foo(): Unit
where T : Foo, T : Bar