-
-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 22364 - Omit unreachable
return
in collectException[Msg]...
...when instantiated with `noreturn`. DMD is able to determine that a lazy `noreturn` expression will interrupt the normal control flow (throw / halt / ...) s.t. it never reaches the `return`.
- Loading branch information
1 parent
12b4380
commit 1c8047b
Showing
1 changed file
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters