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.
2 parents d81d8d9 + 917f6bb commit f8069faCopy full SHA for f8069fa
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