Isn't it a bug that the assertion is triggered for this: class Test3 {} void main() { assert( (new Test3()) == (new Test3()) ); } Tried it on http://dpaste.dzfl.pl/ as well. /Jonas