www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Managed to crash dmd

"Arcane Jill" <Arcane_member pathlink.com> wrote in message
news:cags55$1ss8$1 digitaldaemon.com...
 This code:

    if (!std.ctype,isalnum(s[i])) s[i] = ' ';

made DMD crash. Observe the typo there (comma instead of dot). Windows XP helpfully asked me if I wanted to report the problem to Microsoft. As if!

Please post bugs in the digitalmars.D.bugs newsgroup. Also, I need a reproducible example so I can fix it. Thanks!

import std.ctype; int main () { int i = 1; char[] s = "crash"; if(!std.ctype,isalnum(s[i]))s[i]=' '; return 0; } Segmentation fault on Linux + dmd-0.92
Jun 14 2004