We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1252d8 commit 917f6bbCopy full SHA for 917f6bb
tests/pos/i12723.scala
@@ -0,0 +1,10 @@
1
+class Fun[|*|[_, _]] {
2
+ enum ->[A, B] {
3
+ case BiId[X, Y]() extends ((X |*| Y) -> (X |*| Y))
4
+ }
5
+
6
+ def go[A, B](f: A -> B): Unit =
7
+ f match {
8
+ case ->.BiId() => ()
9
10
+}
0 commit comments