compiler testdata: s/trait/interface
This commit is contained in:
@@ -3,7 +3,7 @@ package test.regressions.kt1149
|
||||
import java.util.ArrayList
|
||||
import kotlin.util.*
|
||||
|
||||
public trait SomeTrait {
|
||||
public interface SomeTrait {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ open class B {
|
||||
get() = "OK"
|
||||
}
|
||||
|
||||
trait A {
|
||||
interface A {
|
||||
val name: String
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import kotlin.support.*
|
||||
|
||||
trait Stream<T> {
|
||||
interface Stream<T> {
|
||||
fun iterator(): Iterator<T>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user