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,7 +1,7 @@
trait A {
interface A {
public val c: Int
}
trait B: A {
interface B: A {
override protected private val c: Int
}
+1 -1
View File
@@ -12,7 +12,7 @@ class A : B() {
fun getB(): Int = 1
val b: Int = 1
trait Tr {
interface Tr {
fun getTr() = 1
}
@@ -1,5 +1,5 @@
package wrong
trait TraitWithDefault {
interface TraitWithDefault {
fun foo() = 1
}
+1 -1
View File
@@ -5,6 +5,6 @@ fun foo(p: Int??) {
}
trait T {
interface T {
abstract fun foo()
}