Bug 5975 – [2.053 beta][CTFE] ICE: 'global.errors' on line 1416 in file 'constfold.c'
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-05-10T02:51:00Z
Last change time
2015-06-09T05:13:46Z
Keywords
ice-on-valid-code
Assigned to
nobody
Creator
bus_dbugzilla
Comments
Comment #0 by bus_dbugzilla — 2011-05-10T02:51:56Z
int foo(wstring replace)
{
wstring value = "";
value ~= replace;
return 1;
}
enum X = foo("X"w);
> dmd test.d
Assertion failure: 'global.errors' on line 1416 in file 'constfold.c'
abnormal program termination
Comment #1 by bus_dbugzilla — 2011-05-10T02:54:21Z