Skip to content

Commit a9a80bb

Browse files
committed
Fix tcpoly test, remove inheritance from final case class Tuple2
1 parent ff6de01 commit a9a80bb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/pos/tcpoly_bounds1.scala

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
class Foo[t[x]<: Tuple2[Int, x]]
2-
3-
//
4-
class MyPair[z](a: Int, b: z) extends Tuple2[Int, z](a,b)
5-
6-
object foo extends Foo[MyPair]
7-
8-
91
trait Monad[m[x <: Bound[x]], Bound[x], a] // TODO: variances!
102
trait ListMonad[a] extends Monad[List, [X] => Any, a] // Dotty difference: Any is not a legal argument for hk type.
113

0 commit comments

Comments
 (0)