Null references (oh no, not again!)

Walter Bright newshound1 at digitalmars.com
Wed Mar 4 14:55:19 PST 2009


Joel C. Salomon wrote:
> Then the compiler is giving the wrong warning; it ought only to warn
> that the variable is used before it has been set.

That doesn't cover all the cases, nor does it do anything for tracking 
where a null might come from when going between modules.

And yes, it does require full blown data flow analysis.



More information about the Digitalmars-d mailing list