We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 196033e commit d551238Copy full SHA for d551238
tests/pos/gadt-hkt-bounds.scala
@@ -1,6 +1,6 @@
1
type Const = [X] =>> Int
2
3
-trait Expr[F[_]]
+trait Expr[+F[_]]
4
case class ConstExpr() extends Expr[Const]
5
6
def foo[F[_], A](e: Expr[F]): F[A] = e match
0 commit comments