April 18, 2013 [dmd-internals] [D-Programming-Language/dmd] 134fdd: Run semantic on memberless enum memtype | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 134fdd3375ca23a20113bcb62aa0cf5117ca296b https://github.com/D-Programming-Language/dmd/commit/134fdd3375ca23a20113bcb62aa0cf5117ca296b Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-04-18 (Thu, 18 Apr 2013) Changed paths: M src/enum.c Log Message: ----------- Run semantic on memberless enum memtype If enum has no members but still has a base type, eg enum X : BaseType; we still need to run semantic on the memtype BaseType. Commit: 35a376547e1c67cd2beddb326bf31210dcf10d8f https://github.com/D-Programming-Language/dmd/commit/35a376547e1c67cd2beddb326bf31210dcf10d8f Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-04-18 (Thu, 18 Apr 2013) Changed paths: M src/enum.c A test/fail_compilation/enum9921.d Log Message: ----------- Fix bug 9921: Disallow void enums. Fix enum.max for errors If the base type isn't valid, don't calculate enum.max Commit: 2fb8a99dd64e8b430bc1e3c130f8bd05f73a94ff https://github.com/D-Programming-Language/dmd/commit/2fb8a99dd64e8b430bc1e3c130f8bd05f73a94ff Author: Walter Bright <walter@walterbright.com> Date: 2013-04-18 (Thu, 18 Apr 2013) Changed paths: M src/enum.c A test/fail_compilation/enum9921.d Log Message: ----------- Merge pull request #1907 from donc/voidenum9921 9921: Enum variables of type void should be illegal Compare: https://github.com/D-Programming-Language/dmd/compare/202a28b20900...2fb8a99dd64e |
Copyright © 1999-2021 by the D Language Foundation