Static Array with negative index results in a strange error-message

Dgame r.schuett.1987 at gmail.com
Mon Apr 23 15:09:08 UTC 2018


It's really fun playing around:

char[int.max - 1] c;

results in

Internal error: dmd/backend/cgcod.c 634

with DMD 2.079. Guess I or somebody else should report this.




More information about the Digitalmars-d-learn mailing list