Wrong unreachable code reported for inline def pattern match #20395
Labels
area:pattern-matching
better-errors
Issues concerned with improving confusing/unhelpful diagnostic messages
itype:bug
Compiler version
3.3.3
Minimized code
Output
![image](https://github.com/scala/scala3/assets/9916002/dba8e346-3f3b-4a39-a1dd-c1472683407
Expectation
The
case _
is reachable case but The compiler doesn't think soThe text was updated successfully, but these errors were encountered: