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,6 +1,6 @@
package test
trait Trait {
interface Trait {
fun foo()
val bar: Int
}
@@ -1,6 +1,6 @@
package test
trait Trait {
interface Trait {
fun simple() {
}
@@ -1,6 +1,6 @@
package test
trait A<T> {
interface A<T> {
fun foo(): T
}
@@ -1,6 +1,6 @@
package test
trait A<T> {
interface A<T> {
fun foo(): T
}
@@ -1,6 +1,6 @@
package test
trait A<T> {
interface A<T> {
fun foo(): T
}
@@ -1,6 +1,6 @@
package test
trait A {
interface A {
fun foo(): Any
}
@@ -1,6 +1,6 @@
package test
trait A<T> {
interface A<T> {
fun foo(): T
}
@@ -1,6 +1,6 @@
package test
trait A<T : Comparable<T>> {
interface A<T : Comparable<T>> {
fun foo(): T
}
@@ -1,6 +1,6 @@
package test
trait A<T : Number> {
interface A<T : Number> {
fun foo(): T
}
@@ -1,6 +1,6 @@
package test
trait A<T> {
interface A<T> {
fun foo(): T
}
@@ -1,10 +1,10 @@
package test
trait A<T> {
interface A<T> {
fun foo(): T
}
trait B : A<Int>
interface B : A<Int>
abstract class C : B
@@ -1,6 +1,6 @@
package test
trait A<T> {
interface A<T> {
fun foo(): T
}
@@ -1,6 +1,6 @@
package test
trait A<T> {
interface A<T> {
fun foo(): T
}
@@ -3,7 +3,7 @@ package test
class E1: Exception()
class E2: Exception()
trait Trait {
interface Trait {
throws()
fun none()
@@ -2,7 +2,7 @@ package test
class E1: Exception()
trait Base<T> {
interface Base<T> {
throws(E1::class)
fun one(t: T) {}
}
@@ -3,7 +3,7 @@ package test
class E1: Exception()
class E2: Exception()
trait Trait {
interface Trait {
throws()
fun none() {}