[Issue 10520] [profile+nothrow] Building with profiler results in "is not nothrow" error on some contracts

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jun 28 23:58:58 PDT 2014


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

--- Comment #4 from github-bugzilla at 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 "...

--


More information about the Digitalmars-d-bugs mailing list