Parameter is null by default. No value is given. Code says it is not null.

Daniel Kozák via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Apr 9 08:08:13 PDT 2015


On Thu, 09 Apr 2015 11:04:47 -0400
Steven Schveighoffer via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:
> 
> Note that the "bad" behavior (which was just fixed BTW) is
> if(somearr), which used to mean if(somearr.ptr), and now it's a
> compiler error.
> 
> -Steve

Yeah, because of this I must change almost 1k lines in my codebase



More information about the Digitalmars-d-learn mailing list