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 T {
interface T {
<!OVERLOADS_ABSTRACT!>@kotlin.jvm.overloads fun foo(s: String = "OK")<!>
}
@@ -27,7 +27,7 @@ class A {
}
}
trait B {
interface B {
companion object {
<!PLATFORM_STATIC_NOT_IN_OBJECT!>platformStatic fun a1()<!> {
@@ -1,5 +1,5 @@
// !DIAGNOSTICS: -UNUSED_EXPRESSION
trait A
interface A
abstract class B
annotation class C
enum class D
@@ -2,7 +2,7 @@
import kotlin.reflect.KMemberProperty
trait Base {
interface Base {
val x: Any
}
@@ -1,6 +1,6 @@
import kotlin.jvm.*
trait Base {
interface Base {
fun foo()
}
@@ -1,6 +1,6 @@
import kotlin.jvm.*
trait Tr {
interface Tr {
<!NATIVE_DECLARATION_IN_TRAIT!>native fun foo()<!>
<!NATIVE_DECLARATION_IN_TRAIT, NATIVE_DECLARATION_CANNOT_HAVE_BODY!>native fun bar()<!> {}