Are null refs intentionally allowed?

Dukc ajieskola at gmail.com
Sat Jul 16 13:32:36 UTC 2022


On Saturday, 16 July 2022 at 12:40:06 UTC, Tejas wrote:
> It doens't compile when I run it on run.dlang.io, erroring out 
> with:
> ```
> onlineapp.d(11): Error: cannot take address of parameter `x` in 
> `@safe` function `isNull`
> ```

Oh sorry, it needs `-preview=dip1000`


More information about the Digitalmars-d mailing list