Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix endsInNoReturn for case statements (#23009) | SirOlaf | 2023-11-30 | 1 | -4/+41 |
| | | | | | | | | | While looking at the CI I noticed that there's a couple false positives for `case` statements that cannot be checked for exhaustiveness since my changes, this should resolve them. --------- Co-authored-by: SirOlaf <> | ||||
* | Fix #22604: Make endsInNoReturn traverse the tree (#22612) | SirOlaf | 2023-09-01 | 1 | -2/+12 |
| | | | | | | | | | | | | | | | | | * Rewrite endsInNoReturn * Handle `try` stmt again and add tests * Fix unreachable code warning * Remove unreachable code in semexprs again * Check `it.len` before skip * Move import of assertions --------- Co-authored-by: SirOlaf <> | ||||
* | fixes #9839; fixes noReturn pragma doesn't work for non-simple templates ↵ | ringabout | 2022-12-08 | 1 | -0/+32 |
(#21048) |