Feedback Thread: DIP 1035-- at system Variables--Final Review

rikki cattermole rikki at cattermole.co.nz
Sat Feb 19 13:01:23 UTC 2022


Extern variables should not be @safe by default.

This is an extension of @safe by default argument that if the compiler 
cannot prove something is true, it should act as if it isn't.

Extern variables have an unknown initialization value/expression and the 
compiler may have no possible way of knowing this information.


More information about the Digitalmars-d mailing list