Disallow null references in safe code?

Dicebot public at dicebot.lv
Tue Feb 4 05:20:11 PST 2014


On Tuesday, 4 February 2014 at 13:11:49 UTC, Idan Arye wrote:
> Why is `bar(w);` an error? I may be perfectly valid for `bar` 
> to accept null as argument.

It should declare its argument as Nullable!w then.


More information about the Digitalmars-d mailing list