Skip to content

Commit 4bc458b

Browse files
authored
Merge pull request #638 from scala/backport-lts-3.3-23968
Backport "Fix false exhaustivity warning for seq match" to 3.3 LTS
2 parents ff6bff7 + 8245bef commit 4bc458b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/pos/i23928.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
object Test {
2+
Nil match {
3+
case Seq(xs*) => 42
4+
}
5+
}

0 commit comments

Comments
 (0)