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
@@ -2,6 +2,6 @@
fun <T> foo(t: T<!WRONG_NUMBER_OF_TYPE_ARGUMENTS!><String, Int><!>) {}
trait A
interface A
class B<T: A>
fun <T> foo1(t: T<!WRONG_NUMBER_OF_TYPE_ARGUMENTS!><B<<!UPPER_BOUND_VIOLATED!>String<!>>><!>) {}
@@ -1,6 +1,6 @@
// !DIAGNOSTICS: -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE
trait Rec<T>
interface Rec<T>
class A : Rec<A>
class B : Rec<B>
@@ -2,6 +2,6 @@
object O : Tr<V<*>>
trait Tr<T>
interface Tr<T>
class V<out S>
@@ -1,5 +1,5 @@
// !CHECK_TYPE
trait Tr<T> {
interface Tr<T> {
var v: Tr<T>
}
@@ -1,7 +1,7 @@
// !DIAGNOSTICS: -UNREACHABLE_CODE -UNUSED_PARAMETER
// !CHECK_TYPE
// t is unused due to KT-4233
trait Tr<T> {
interface Tr<T> {
var v: T
}
@@ -1,5 +1,5 @@
// !DIAGNOSTICS: -UNREACHABLE_CODE
trait Tr<T> {
interface Tr<T> {
var v: T
}
@@ -1,5 +1,5 @@
// !DIAGNOSTICS: -UNREACHABLE_CODE
trait Tr<T> {
interface Tr<T> {
var v: T
}