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 @@
package test
trait A<T> {
interface A<T> {
fun run(): T;
}
@@ -3,7 +3,7 @@ package builders
import java.util.ArrayList
import java.util.HashMap
trait Element {
interface Element {
fun render(builder: StringBuilder, indent: String)
override fun toString(): String {
@@ -3,7 +3,7 @@ package builders
import java.util.ArrayList
import java.util.HashMap
trait Element {
interface Element {
fun render(builder: StringBuilder, indent: String)
override fun toString(): String {
@@ -9,7 +9,7 @@ public class Output(val d: Data) : Closeable {
public fun doOutput(data: Int): Int = data
}
public open trait Closeable {
public open interface Closeable {
open public fun close() {}
}
@@ -11,7 +11,7 @@ public class Output(val d: Data) : Closeable {
public fun doOutput(data: Int): Int = data
}
public open trait Closeable {
public open interface Closeable {
open public fun close() {}
}
@@ -1,6 +1,6 @@
package test
public trait MCloseable {
public interface MCloseable {
public open fun close()
}
@@ -1,6 +1,6 @@
package test
trait InlineTrait {
interface InlineTrait {
inline final fun finalInline(s: () -> String): String {
return s()