Skip to content

Commit 224e8dc

Browse files
Fix #9849: Add regression test
1 parent affe8d0 commit 224e8dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/pos/9849.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
type *:[A, B] = A match
2+
case (B *: x) => A
3+
case (x *: y) => x *: (B *: y)
4+
case _ => A *: B

0 commit comments

Comments
 (0)