Comment #0 by bus_dbugzilla — 2011-06-11T20:18:09Z
This is a regression in DMD 2.053:
const a = "";
int foo()
{
const bar = a;
return 1;
}
enum b = foo();
Result
----------
Assertion failure: 'v2 && v2->getValue()' on line 2615 in file 'interpret.c'
abnormal program termination
Comment #1 by ibuclaw — 2011-06-29T13:33:47Z
I don't think I can reproduce this in the current dmd trunk.