October 14, 2021 [Issue 22386] Unreachable warning for assertThrown with noreturn value | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22386 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> --- @MoonlightSentinel created dlang/phobos pull request #8273 "Fix 22386 - Omit unreachable throw in assertThrown with noreturn value" fixing this issue: - Fix 22386 - Omit unreachable throw in assertThrown with noreturn value The lazy value will throw or never return at all and hence never reach the additional throw statement. https://github.com/dlang/phobos/pull/8273 -- |
October 14, 2021 [Issue 22386] Unreachable warning for assertThrown with noreturn value | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22386 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #8273 "Fix 22386 - Omit unreachable throw in assertThrown with noreturn value" was merged into master: - f08814120b1a26f0bb0b3a799c01bbbbcbda1cf5 by MoonlightSentinel: Fix 22386 - Omit unreachable throw in assertThrown with noreturn value The lazy value will throw or never return at all and hence never reach the additional throw statement. https://github.com/dlang/phobos/pull/8273 -- |
Copyright © 1999-2021 by the D Language Foundation