Bug 11300 – [2.064 beta] ICE with enums and circular module references

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-10-19T11:13:00Z
Last change time
2013-10-19T19:52:34Z
Keywords
ice, pull
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2013-10-19T11:13:30Z
--- a.d module a; import b; enum value = 42; --- --- b.d module b; static import a; enum value = a.value; --- --- dmd a.d --- DMD 2.063.2 fails with "Error: cannot resolve type for value", but the current head of the 2.064 branch (a913ce4b) crashes.
Comment #1 by k.hara.pg — 2013-10-19T11:45:55Z
Comment #2 by github-bugzilla — 2013-10-19T14:18:56Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ba938254d141403edd68484087fcc33c7702e609 fix Issue 11300 - ICE with enums and circular module references https://github.com/D-Programming-Language/dmd/commit/9e4e00e132eee0171f10051ea0f9caaa1b9c4516 Merge pull request #2683 from 9rnsr/fix11300 [REG2.064a] Issue 11300 - ICE with enums and circular module references
Comment #3 by github-bugzilla — 2013-10-19T19:52:34Z
Commit pushed to 2.064 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/422914376c209499003579e7d15d08de27caa387 Merge pull request #2683 from 9rnsr/fix11300 [REG2.064a] Issue 11300 - ICE with enums and circular module references