string <-> null/bool implicit conversion

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 21 02:14:14 PDT 2015


On Thursday, 20 August 2015 at 20:26:09 UTC, David Nadlinger 
wrote:
> It's even worse: http://dpaste.dzfl.pl/ba3376feca8e
>
> The arrays are equal, but their Boolean value is not.
>
> I don't get how Andrei can reconcile this with his "D avoids 
> unforced errors" stance.

The only technical excuse for the bug is code breakage, which can 
be mostly addressed by dfix, but that's yet another problem: 
tools like dfix are shunned for some reason.


More information about the Digitalmars-d mailing list