invalid propertie crashes the compiler
Extrawurst
spam at extrawurst.org
Fri Aug 3 02:43:56 PDT 2007
hi,
can someone file this major bug please?
[CODE]
import std.stdio;
void putOut(string bla) {
writefln(bla);
}
void main() {
string[] arr;
foreach(it; arr) {
putOut(i.simsalabim ~ " foo?");
}
}
[/CODE]
i know i.simsalabim is a invalid property for a string but the compiler
should definitely not crash on that !
it occures at least on dmd2.003 as i testet it on that.
More information about the Digitalmars-d-bugs
mailing list