compiler testdata: s/trait/interface
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
trait A
|
||||
trait B : A
|
||||
interface A
|
||||
interface B : A
|
||||
|
||||
fun foo1(a: A, b: B): Boolean {
|
||||
val result = (a as B) == b
|
||||
|
||||
Reference in New Issue
Block a user