Thoughts on some code breakage with 2.074
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 11 02:37:39 PDT 2017
On Wednesday, 10 May 2017 at 19:06:40 UTC, Ali Çehreli wrote:
> Bummer for H. S. Teoh I guess... :/
>
> Although I prefer explicit over implicit in most cases, I've
> never graduated from if(p) and still using it happily. :)
>
> Ali
All bool conversions in D are value based, not identity based.
Not only this is error prone, this is inconsistent.
More information about the Digitalmars-d
mailing list