Commit 1c8c009
authored
Fixes #16232
The inclusion of these statements dates back to the original
`--warn-unreachable` PR (and doesn't provide justification)
I've been advocating for more consistent heuristics for allowable
unreachable code across type checkers and I can't come up with a good
reason that this should be allowed
1 parent 5f90caf commit 1c8c009
2 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3181 | 3181 | | |
3182 | 3182 | | |
3183 | 3183 | | |
3184 | | - | |
| 3184 | + | |
3185 | 3185 | | |
3186 | 3186 | | |
3187 | | - | |
3188 | | - | |
3189 | | - | |
| 3187 | + | |
3190 | 3188 | | |
3191 | 3189 | | |
3192 | 3190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1637 | 1637 | | |
1638 | 1638 | | |
1639 | 1639 | | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
1640 | 1647 | | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
1641 | 1651 | | |
1642 | 1652 | | |
1643 | 1653 | | |
| |||
0 commit comments