compiler testdata: s/trait/interface
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
trait Tr<T>
|
||||
trait G<T> : Tr<T>
|
||||
interface Tr<T>
|
||||
interface G<T> : Tr<T>
|
||||
|
||||
fun test(tr: Tr<String>?) {
|
||||
val v = tr as G?
|
||||
|
||||
Reference in New Issue
Block a user