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 a
trait A
interface A
fun <T> emptyList(): List<T> = throw Exception()
@@ -2,11 +2,11 @@
package s
trait In<in T>
interface In<in T>
trait A
trait B
trait C: A, B
interface A
interface B
interface C: A, B
fun <T> foo(in1: In<T>, in2: In<T>): T = throw Exception("$in1 $in2")
@@ -4,7 +4,7 @@ fun <T: Any> foo(v: Any): T? = unescape(v)
//--------------
trait A
interface A
fun <R : A> unescapeA(value: Any): R? = throw Exception("$value")