Feedback Thread: DIP 1035-- at system Variables--Community Review Round 2
Dennis
dkorpel at gmail.com
Tue Mar 2 13:56:28 UTC 2021
On Monday, 1 March 2021 at 23:38:28 UTC, Dukc wrote:
> The rationale and description sections disagree on behaviour of
> `extern` global variables of unsafe type. Rationale says the
> compiler should disallow it in @safe code "since it's initial
> value is unknown", yet an example in description says:
> ```
> extern int* x0; // @safe by default
> ```
There is no disagreement, the rationale text you mention
describes the situation before DIP 1035, while the description
describes the situation after DIP 1035.
More information about the Digitalmars-d
mailing list