unreachable pattern match warning for type test of enum where case mixes in sealed trait #22032
Labels
area:pattern-matching
itype:bug
stat:needs triage
Every issue needs to have an "area" and "itype" label
Compiler version
3.5.2, 3.6.2-RC1
Minimized code
Output
Expectation
I would think that the space analysis can realize that children of one sealed class can intersect with children of an otherwise "unrelated" sealed trait
The text was updated successfully, but these errors were encountered: