digitalmars.D.bugs - Internal error: ..\ztc\cgcs.c 353
- Regan Heath (17/17) Jun 09 2004 [bug.d]
[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/
Jun 09 2004