compiler testdata: s/trait/interface
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
|
||||
trait Derived<A>: List<A>
|
||||
interface Derived<A>: List<A>
|
||||
|
||||
// class: Derived
|
||||
// jvm signature: Derived
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
trait Base<A, in B, out C>
|
||||
interface Base<A, in B, out C>
|
||||
class Derived<A, B, C>: Base<A, B, C>
|
||||
|
||||
// class: Derived
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
|
||||
trait Base<A, in B, out C>
|
||||
trait Intermediate<A>
|
||||
interface Base<A, in B, out C>
|
||||
interface Intermediate<A>
|
||||
class Derived<A, B, C>: Intermediate<Base<A, B, C>>
|
||||
|
||||
// class: Derived
|
||||
|
||||
Reference in New Issue
Block a user