dip1000 + pure is a DEADLY COMBO

Dennis dkorpel at gmail.com
Fri May 14 09:41:01 UTC 2021


On Friday, 14 May 2021 at 09:15:18 UTC, Per Nordlöw wrote:
> fails to compile with dmd master using `-dip1000` as
>
>     main.d(9,20): Error: cannot take address of local `x` in 
> `@safe` function `f`

That's the old error message, I don't understand how you get that 
with `-dip1000`, I can only reproduce that by forgetting that 
flag.


More information about the Digitalmars-d mailing list