May 31, 2005 Internal error: ..\ztc\cod1.c 2503 - slice-assigning to a bit[n][] | ||||
---|---|---|---|---|
| ||||
Using DMD 0.125, Windows 98SE.
----------
void main() {
bit[9][3] qwert;
qwert[1..3] = qwert[0];
}
----------
Internal error: ..\ztc\cod1.c 2503
----------
This seems to happen only if assigning a single element to a slice. It also happens if outer array dimension is dynamic, but not if the inner one is. Doesn't seem to happen with arrays of the other types.
Stewart.
--
My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
|
June 06, 2005 Re: Internal error: ..\ztc\cod1.c 2503 - slice-assigning to a bit[n][] | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stewart Gordon schrieb am Tue, 31 May 2005 11:48:47 +0100: > Using DMD 0.125, Windows 98SE. > > ---------- > void main() { > bit[9][3] qwert; > > qwert[1..3] = qwert[0]; > } > ---------- > Internal error: ..\ztc\cod1.c 2503 > ---------- > > This seems to happen only if assigning a single element to a slice. It also happens if outer array dimension is dynamic, but not if the inner one is. Doesn't seem to happen with arrays of the other types. > > Stewart. Added to DStress as http://dstress.kuehne.cn/run/o/opSlice_01_A.d ... http://dstress.kuehne.cn/run/o/opSlice_01_U.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCo/4e3w+/yD4P9tIRApnGAKCzi7CC8G7k0hbMy34iY61GGaIW1wCdFL2s YpafGJAQvvZupoT1hY1tkOc= =USH2 -----END PGP SIGNATURE----- |
Copyright © 1999-2021 by the D Language Foundation