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,4 +1,4 @@
trait A {
interface A {
val method : (() -> Unit )?
val test : Integer
}
@@ -1,4 +1,4 @@
trait A {
interface A {
val v: Int
}
@@ -1,4 +1,4 @@
trait TextField {
interface TextField {
fun getText(): String
fun setText(text: String)
}
@@ -1,4 +1,4 @@
trait FooTrait {
interface FooTrait {
val propertyTest: String
}
@@ -1,4 +1,4 @@
trait Tr<T> {
interface Tr<T> {
val prop: T
}
@@ -1,4 +1,4 @@
trait R<T: Comparable<T>> {
interface R<T: Comparable<T>> {
var value: T
}
@@ -3,7 +3,7 @@ class Holder(var value: Int) {
fun set(that: Any?, desc: PropertyMetadata, newValue: Int) { value = newValue }
}
trait R<T: Comparable<T>> {
interface R<T: Comparable<T>> {
var value: T
}
@@ -2,7 +2,7 @@ open class Base {
val pr : String = "OK"
}
trait Trait : Base {
interface Trait : Base {
fun f() : String {
return this.pr
}