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 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
trait A {
interface A {
val prop: Int
}
@@ -1,6 +1,6 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
trait A {
interface A {
val prop: Int
}
@@ -1,6 +1,6 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
trait T {
interface T {
val a: Int <!DELEGATED_PROPERTY_IN_TRAIT!>by Delegate()<!>
}
@@ -38,11 +38,11 @@ object O {
fun getMyProperty<A, B>() = MyProperty<A, B>()
}
trait MyPropertyContainer {
interface MyPropertyContainer {
fun <R, T> getMyProperty(): MyProperty<R, T>
}
trait Outer {
interface Outer {
fun getContainer(): MyPropertyContainer
}