Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scala> class A
- defined class A
- scala> class B
- defined class B
- scala> class C [U <: A, V <: B]
- defined class C
- scala> trait T extends C [_,_]
- <console>:10: error: class type required but C[_, _] found
- trait T extends C [_,_]
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement