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 e64d3d1 commit d527710Copy full SHA for d527710
tests/pos/gadt-hkt-ordering.scala
@@ -0,0 +1,10 @@
1
+object test {
2
+ final class HKTVar[+T[_]]
3
+
4
+ def foo[F[_], G[_], X](m : HKTVar[G]) = m match {
5
+ case _ : HKTVar[F] =>
6
+ val fx : F[X] = ???
7
+ val gx : G[X] = fx
8
+ }
9
10
+}
0 commit comments