Invalid refutable pattern warning with Tuple #15991
Labels
area:pattern-matching
area:tuples
itype:bug
regression
This worked in a previous version but doesn't anymore
Milestone
Compiler version
3.2.1-RC1-bin-20220904-b5fea82-NIGHTLY
Minimized code
While investigating , I noticed
*:
-tuples in unapply return raise refutable pattern warnings.Output
Expectation
No warning, as this can not result in a MatchError at runtime.
The text was updated successfully, but these errors were encountered: