June 10, 2004 Internal error: ..\ztc\cgcs.c 353 | ||||
---|---|---|---|---|
| ||||
[bug.d]
struct Bug {
ubyte[64] buffer;
void fn(ubyte[] input)
{
uint i;
i = 64-buffer.length;
buffer[] ~= input[0..i];
}
}
dmd -c bug.d -g -gt -debug -unittest
Internal error: ..\ztc\cgcs.c 353
Removing the 64 from the declaration of buffer stops the internal error from occurring.
Regan
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
Copyright © 1999-2021 by the D Language Foundation