June 28, 2014 [dmd-internals] [D-Programming-Language/dmd] a219f5: Fix: Issue 10520 - [profile+nothrow] Building with... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: a219f511c875d322e8ccb47e3b273237b99d437e https://github.com/D-Programming-Language/dmd/commit/a219f511c875d322e8ccb47e3b273237b99d437e Author: qchikara <jiki@red.email.ne.jp> Date: 2014-05-17 (Sat, 17 May 2014) Changed paths: M src/glue.c A test/compilable/test10520.d Log Message: ----------- 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. Commit: e6c308938d02d1cbfc57c37c03d06bff0ec00c74 https://github.com/D-Programming-Language/dmd/commit/e6c308938d02d1cbfc57c37c03d06bff0ec00c74 Author: Hara Kenji <k.hara.pg+dev@gmail.com> Date: 2014-06-29 (Sun, 29 Jun 2014) Changed paths: M src/glue.c A test/compilable/test10520.d Log Message: ----------- Merge pull request #3554 from qchikara/FIX_profile_contract_nothrow Fix: Issue 10520 - [profile+nothrow] Building with profiler results in "... Compare: https://github.com/D-Programming-Language/dmd/compare/3126735908e8...e6c308938d02 |
Copyright © 1999-2021 by the D Language Foundation