https://issues.dlang.org/show_bug.cgi?id=10520

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/a219f511c875d322e8ccb47e3b273237b99d437e
Fix: Issue 10520 - [profile+nothrow] Building with profiler results in "is not
nothrow" error on some contracts

When Statement#blockExit() checks if the statements may throw or not, it
can also emit compile error.
We turn the second argument of it, mustNotThrow, to false
so that the error is suppressed.

https://github.com/D-Programming-Language/dmd/commit/e6c308938d02d1cbfc57c37c03d06bff0ec00c74
Merge pull request #3554 from qchikara/FIX_profile_contract_nothrow

Fix: Issue 10520 - [profile+nothrow] Building with profiler results in "...

--

Reply via email to