compiler testdata: s/trait/interface
This commit is contained in:
+2
-2
@@ -1,11 +1,11 @@
|
||||
package test
|
||||
|
||||
public trait Super1 {
|
||||
public interface Super1 {
|
||||
public fun String.foo()
|
||||
public fun Array<String>.bar()
|
||||
}
|
||||
|
||||
public trait Super2 {
|
||||
public interface Super2 {
|
||||
public fun foo(p: String)
|
||||
public fun bar(vararg p: String)
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
trait Trait {
|
||||
interface Trait {
|
||||
fun foo(): String = "foo"
|
||||
|
||||
fun bar(): String = "bar"
|
||||
|
||||
Reference in New Issue
Block a user