[Issue 3477] New: ICE when assign struct with ctor to enum
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 5 15:47:08 PST 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 at puremagic.com
ReportedBy: k-foley at onu.edu
--- Comment #0 from Kyle Foley <k-foley at 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: -------
More information about the Digitalmars-d-bugs
mailing list