Skip to content

Commit 18d0361

Browse files
committed
Fix #1846: add regression test
1 parent 6c17eb5 commit 18d0361

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/pos/i1846.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
object Bug {
2+
val x = 42
3+
x match {case {42}.toString => 42}
4+
}

0 commit comments

Comments
 (0)