July 12, 2013 [dmd-internals] [D-Programming-Language/dmd] 8a9421: Fix bug 10599 CTFE assert with bad struct initiali... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 8a9421b4d1e8b577a412a40bce0979a17a63a9c8 https://github.com/D-Programming-Language/dmd/commit/8a9421b4d1e8b577a412a40bce0979a17a63a9c8 Author: Don Clugston <dclugston@googlemail.com> Date: 2013-07-11 (Thu, 11 Jul 2013) Changed paths: M src/expression.c M src/mars.c M src/mars.h A test/fail_compilation/ice10599.d Log Message: ----------- Fix bug 10599 CTFE assert with bad struct initializer This is an ErrorExp propagation/gagging bug. Errors in struct initializers don't generate error messages when used, but still need to report an error to the enclosing function. Commit: 8db6add9b875af70b948859ef7848461db0684d4 https://github.com/D-Programming-Language/dmd/commit/8db6add9b875af70b948859ef7848461db0684d4 Author: Walter Bright <walter@walterbright.com> Date: 2013-07-12 (Fri, 12 Jul 2013) Changed paths: M src/expression.c M src/mars.c M src/mars.h A test/fail_compilation/ice10599.d Log Message: ----------- Merge pull request #2335 from donc/ctfe10599errorexp 10599 CTFE assert with bad struct initializer Compare: https://github.com/D-Programming-Language/dmd/compare/c19b8a43f45d...8db6add9b875 |
Copyright © 1999-2021 by the D Language Foundation