[Issue 11300] New: [2.064 beta] ICE with enums and circular module references

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 19 11:13:32 PDT 2013


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 at puremagic.com
        ReportedBy: code at klickverbot.at


--- Comment #0 from David Nadlinger <code at 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: -------


More information about the Digitalmars-d-bugs mailing list