compiler testdata: s/trait/interface
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
trait Foo<T>
|
||||
interface Foo<T>
|
||||
|
||||
class Bar {
|
||||
fun <T> invoke(): Foo<T> = throw Exception()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
trait Inv<I>
|
||||
interface Inv<I>
|
||||
|
||||
fun <S, T: S> Inv<T>.reduce2(): S = null!!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user