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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Kyle Foley <[email protected]> 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: -------