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 Expr
interface Expr
class BinOp(val operator : String) : Expr
fun test(e : Expr) {
@@ -1,4 +1,4 @@
trait D {
interface D {
fun foo() {}
}
@@ -1,4 +1,4 @@
trait D {
interface D {
fun foo(): String = ""
}
@@ -10,7 +10,7 @@ fun f(a: Any?) {
}
}
trait B {
interface B {
fun foo() {}
}
open class X(<!UNUSED_PARAMETER!>b<!>: B)
@@ -1,6 +1,6 @@
// KT-2225 Object expression delegation parameter should be checked with data flow info
trait A {
interface A {
fun foo() : Int
}