https://issues.dlang.org/show_bug.cgi?id=19916
ag0aep6g <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #13 from ag0aep6g <[email protected]> --- (In reply to Manu from comment #10) > (In reply to Dennis from comment #7) > > (In reply to Manu from comment #6) > > > Accessing uninitialised memory is absolutely a memory safety issue. > > > > Not per se. This compiles, prints a random number, and doesn't corrupt > > memory. > > > > ``` > > import std; > > > > void main() @safe > > { > > int a = void; > > writeln(a); > > } > > ``` > > Hah, well that's obviously broken too! For reference, that's issue 18016. Walter has an open PR to resolve it by making the value of `a` "implementation defined". --
