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 @@
trait A : Collection<String>
trait B : List<String>
trait C : Map<Long, Double>
trait D : Map.Entry<Any, Nothing>
trait E : Iterator<Int>
interface A : Collection<String>
interface B : List<String>
interface C : Map<Long, Double>
interface D : Map.Entry<Any, Nothing>
interface E : Iterator<Int>
fun box(): String {
trait F : A, B, C, D, E
interface F : A, B, C, D, E
return "OK"
}
@@ -1,4 +1,4 @@
trait Addable {
interface Addable {
fun add(s: String): Boolean = true
}