On Thursday, 9 July 2015 at 17:04:43 UTC, bachmeier wrote:
Is there a reason the compiler doesn't identify this as an error?
The compiler just doesn't really try to trace if variables have actually been initialized or not. It punts it to runtime for simplicity of compiler implementation.