compiler testdata: s/trait/interface
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
trait A {
|
||||
interface A {
|
||||
fun f(): String
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import kotlin.properties.Delegates
|
||||
import java.util.HashMap
|
||||
|
||||
trait R {
|
||||
interface R {
|
||||
fun result(): String
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
trait C {
|
||||
interface C {
|
||||
val a: Any
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ class G<T>(val s: T) {
|
||||
|
||||
}
|
||||
|
||||
public trait ErrorsJvmTrait {
|
||||
public interface ErrorsJvmTrait {
|
||||
companion object {
|
||||
public val param : G<String> = G("STRING")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user