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 X {
interface X {
fun f(): Boolean
}
@@ -2,9 +2,9 @@
// KT-4034 An expression of type Nothing may not affect 'definite return' analysis
trait JavaClassifierType
trait TypeUsage
trait JetType
interface JavaClassifierType
interface TypeUsage
interface JetType
private fun transformClassifierType(classifierType: JavaClassifierType, howThisTypeIsUsed: TypeUsage): JetType? {
null!!
@@ -1,7 +1,7 @@
//KT-1191 Wrong detection of unused parameters
package kt1191
trait FunctionalList<T> {
interface FunctionalList<T> {
val size: Int
val head: T
val tail: FunctionalList<T>
@@ -1,7 +1,7 @@
//KT-2226 Parameter used as delegation by object marked as unused
package a
trait A {
interface A {
fun foo() : Int
}
@@ -3,7 +3,7 @@ fun box() {
<!NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY!>}<!>
}
trait X {
interface X {
fun f(): Boolean
}