This one compiles without any problem.Maybe someone can enlighten us on the status of scope(d)-variables and dip-1000.
It is not fully clear for me. ``` import std.stdio; void main() @trusted { int *q=null; { int a; q=&a; } *q=5; } ```
Alain De Vos via Digitalmars-d-learn Sun, 23 May 2021 07:15:32 -0700
This one compiles without any problem.Maybe someone can enlighten us on the status of scope(d)-variables and dip-1000.
It is not fully clear for me. ``` import std.stdio; void main() @trusted { int *q=null; { int a; q=&a; } *q=5; } ```