[Issue 6516] [2.055 beta] ICE: assert constfold.c(721) global.errors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 16 23:41:18 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6516
--- Comment #1 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2011-08-16 23:41:16 PDT ---
I think this may be another manifestation of the same bug:
dstring foo()
{
auto result = new dchar[](1);
result[0..1] = "a"d;
return cast(dstring)result;
}
static assert(foo() == "a"d);
Result:
assert interpret.c(2831) sz == newstr->sz
--
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