Compiler version
3.0.0-RC1
Minimized code
List(1, 2, 3) match
case x :: y :: Nil => ()
case Nil => ()
Output
match may not be exhaustive.
It would fail on pattern case: List(_, _, _, _: _*), List(_)
Expectation
Warning should be the following?
match may not be exhaustive.
It would fail on pattern case: List(_, _, _, _ *), List(_)