compiler testdata: s/trait/interface
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
trait Expr
|
||||
interface Expr
|
||||
class BinOp(val operator : String) : Expr
|
||||
|
||||
fun test(e : Expr) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait D {
|
||||
interface D {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait D {
|
||||
interface D {
|
||||
fun foo(): String = ""
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ fun f(a: Any?) {
|
||||
}
|
||||
}
|
||||
|
||||
trait B {
|
||||
interface B {
|
||||
fun foo() {}
|
||||
}
|
||||
open class X(<!UNUSED_PARAMETER!>b<!>: B)
|
||||
@@ -1,6 +1,6 @@
|
||||
// KT-2225 Object expression delegation parameter should be checked with data flow info
|
||||
|
||||
trait A {
|
||||
interface A {
|
||||
fun foo() : Int
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user