www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Compiler crashes: int == Object

reply Antoon van.Rooijen.org writes:
Hi, I found the following bug:

<code>
int main(char[][] args){

Object foo = new Object();

int var = 4;
if( var == foo ){
}

return 0;
}
</code>

Above code causes a compiler crash, caused by the if statement. Used compiler
Digital Mars D Compiler v0.110.

I hope this will help making this good software even better....

Antoon
Jan 24 2005
parent "Thomas Kuehne" <eisvogel users.sourceforge.net> writes:
known problem, see
news:csvvet$2g4$1 digitaldaemon.com
http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/2741

Thomas
Jan 25 2005