https://issues.dlang.org/show_bug.cgi?id=15542
Marc Schütz <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Marc Schütz <[email protected]> --- Quoting https://dlang.org/spec/declaration.html#VoidInitializer : "If the Initializer is void, however, the variable is not initialized. If its value is used before it is set, undefined program behavior will result." Note how it says "undefined program behavior", not even "undefined value". So technically, the current behaviour is within the spec. --
