November 05, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3477

           Summary: ICE when assign struct with ctor to enum
           Product: D
           Version: 2.035
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: k-foley@onu.edu


--- Comment #0 from Kyle Foley <k-foley@onu.edu> 2009-11-05 15:47:07 PST ---
import std.stdio;

struct A
{
    string member;

    this(string m) {
        member = m;
    }
}

int main(string[] args)
{
    enum str = A("hello there");
    writeln( str );

    return 0;
}

---

Internal error: ../ztc/symbol.c 1041

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


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clugdbug@yahoo.com.au
         Resolution|                            |FIXED


--- Comment #1 from Don <clugdbug@yahoo.com.au> 2009-11-06 23:44:55 PST ---
Fixed DMD2.036.

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