www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11300] New: [2.064 beta] ICE with enums and circular module references

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11300

           Summary: [2.064 beta] ICE with enums and circular module
                    references
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: code klickverbot.at


--- Comment #0 from David Nadlinger <code klickverbot.at> 2013-10-19 11:13:30
PDT ---
--- 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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 19 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11300


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-10-19 11:45:55 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2683

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 19 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11300



--- Comment #2 from github-bugzilla puremagic.com 2013-10-19 14:18:56 PDT ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 19 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11300


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 19 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11300



--- Comment #3 from github-bugzilla puremagic.com 2013-10-19 19:52:34 PDT ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 19 2013