Thread overview
[Issue 9000] New: ICE on assigning struct's `init` to enum
Nov 12, 2012
Denis Shelomovskij
Nov 13, 2012
Walter Bright
Nov 13, 2012
Walter Bright
November 12, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9000

           Summary: ICE on assigning struct's `init` to enum
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice, rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: verylonglogin.reg@gmail.com


--- Comment #0 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2012-11-12 13:27:13 MSK ---
---
struct S
{ ubyte i = ubyte.max; }

enum e = S.init;
---

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9000



--- Comment #1 from github-bugzilla@puremagic.com 2012-11-12 16:42:00 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f02ffead744d1aa5751562691f6c5113089b9b7a fix Issue 9000 - ICE on assigning struct's  to enum

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9000


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9000



--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2012-11-12 16:43:21 PST ---
*** Issue 9001 has been marked as a duplicate of this issue. ***

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