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,10 +1,10 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
trait Foo<T> {
interface Foo<T> {
fun foo(l: List<T>)
}
trait Bar<T> {
interface Bar<T> {
fun foo(l: List<T>)
}
@@ -1,6 +1,6 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
trait Foo<T> {
interface Foo<T> {
fun foo(l: List<T>)
}
@@ -1,6 +1,6 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
trait Foo<T> {
interface Foo<T> {
fun foo(l: List<T>) {
}
@@ -1,10 +1,10 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
trait Foo<T> {
interface Foo<T> {
fun foo(l: List<T>) {}
}
trait Bar<T> {
interface Bar<T> {
fun foo(l: List<T>) {}
}
@@ -1,10 +1,10 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
trait A<T> {
interface A<T> {
fun foo(l: List<T>)
}
trait B {
interface B {
fun foo(l: List<Int>) {}
}
@@ -1,10 +1,10 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
trait Foo<T> {
interface Foo<T> {
fun foo(l: List<T>) {}
}
trait Bar<T> {
interface Bar<T> {
fun foo(l: List<T>) {}
}
@@ -1,6 +1,6 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
trait Foo
interface Foo
<!CONFLICTING_OVERLOADS!>fun <T: Foo> foo(x: T): T<!> {null!!}
<!CONFLICTING_OVERLOADS!>fun foo(x: Foo): Foo<!> {null!!}
@@ -1,7 +1,7 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
trait Foo
trait Bar
interface Foo
interface Bar
<!CONFLICTING_JVM_DECLARATIONS!>fun <T: Foo> foo(x: T): T<!> where T: Bar {null!!}
<!CONFLICTING_JVM_DECLARATIONS!>fun foo(x: Foo): Foo<!> {null!!}
@@ -1,7 +1,7 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
trait Foo
trait Bar
interface Foo
interface Bar
<!CONFLICTING_JVM_DECLARATIONS!>fun <T> foo(x: T): T<!> where T: Foo, T: Bar {null!!}
<!CONFLICTING_JVM_DECLARATIONS!>fun foo(x: Foo): Foo<!> {null!!}