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
@@ -3,7 +3,7 @@ package test
annotation class Anno(val s: String)
trait T {
interface T {
Anno("foo")
fun foo(): Array<Array<Array<T>>>
@@ -3,6 +3,6 @@ package test
annotation class Anno
trait Trait {
interface Trait {
fun foo([Anno] x: String) = 42
}
@@ -3,7 +3,7 @@ package test
annotation class Anno
class Class {
trait Trait {
interface Trait {
[Anno] val property: Int
}
}
@@ -2,6 +2,6 @@ package test
annotation class Anno
trait Trait {
interface Trait {
[Anno] val property: Int
}
@@ -2,7 +2,7 @@ package test
annotation class Anno
trait Trait {
interface Trait {
companion object {
[Anno] val property: Int
get() = 42