January 13, 2013 [dmd-internals] [D-Programming-Language/dmd] 895f19: fix Issue 9293 - enum struct with StructInitialize... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 895f19174dffc9088c0516f2c8cc47f8f4c589fa https://github.com/D-Programming-Language/dmd/commit/895f19174dffc9088c0516f2c8cc47f8f4c589fa Author: k-hara <k.hara.pg@gmail.com> Date: 2013-01-10 (Thu, 10 Jan 2013) Changed paths: M src/declaration.c M test/runnable/structlit.d Log Message: ----------- fix Issue 9293 - enum struct with StructInitializer reports weird error `VarDeclaration::getConstInitializer` should return an actual expression, even if init is not an `ExpInitializer`. Commit: 7f9d6c8aa9d7c7fc2d798c5e75696ef3a815192c https://github.com/D-Programming-Language/dmd/commit/7f9d6c8aa9d7c7fc2d798c5e75696ef3a815192c Author: Walter Bright <walter@walterbright.com> Date: 2013-01-13 (Sun, 13 Jan 2013) Changed paths: M src/declaration.c M test/runnable/structlit.d Log Message: ----------- Merge pull request #1464 from 9rnsr/fix9293 Issue 9293 - enum struct with StructInitializer reports weird error Compare: https://github.com/D-Programming-Language/dmd/compare/7686d9334986...7f9d6c8aa9d7 |
Copyright © 1999-2021 by the D Language Foundation