January 09, 2013 [dmd-internals] [D-Programming-Language/dmd] d71cf0: Fix issue 8982 ICE(ctfeexpr.c) __parameters of an ... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: d71cf042b7ff685699f0a312760dfead6af70cb4 https://github.com/D-Programming-Language/dmd/commit/d71cf042b7ff685699f0a312760dfead6af70cb4 Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-01-09 (Wed, 09 Jan 2013) Changed paths: M src/expression.c M test/compilable/compile1.d Log Message: ----------- Fix issue 8982 ICE(ctfeexpr.c) __parameters of an erroneous default parameter Don't create a tuple with an error in it; instead, return an ErrorExp. This is the same behaviour you get when creating a erroneous tuple by normal means. (The test case is wrapped in a speculative template so that the module compiles even though it contains an error). Commit: bc8b981bc96d8152fba1fb0801f634d7a9dc3458 https://github.com/D-Programming-Language/dmd/commit/bc8b981bc96d8152fba1fb0801f634d7a9dc3458 Author: Hara Kenji <k.hara.pg+dev@gmail.com> Date: 2013-01-09 (Wed, 09 Jan 2013) Changed paths: M src/expression.c M test/compilable/compile1.d Log Message: ----------- Merge pull request #1453 from donc/ice8982ctfe__parameters 8982 ICE(ctfeexpr.c) __parameters of an erroneous default parameter Compare: https://github.com/D-Programming-Language/dmd/compare/8587727bccc9...bc8b981bc96d |
Copyright © 1999-2021 by the D Language Foundation