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 4fde618 commit d1fca8aCopy full SHA for d1fca8a
tests/pos/gadt-param-unification.scala
@@ -0,0 +1,6 @@
1
+trait Expr[T]
2
+final class Lit[T] extends Expr[T]
3
+
4
+def foo[X, T1 >: X, T2](m: Expr[T2]): T2 = m match {
5
+ case _: Lit[T1] => ??? : X
6
+}
0 commit comments