D-Programming-Language/dmd — pull request #2839 by yebblies (2013-11-21 04:58:11+00:00)
Title: Issue 602 - Compiler allows a goto statement to skip an initalization

Create a linked list of variables in the current scope, and when a goto is encountered check the goto's list includes the label's list.

Should this exclude `= void` initialized variables? I'm not sure on this.

https://d.puremagic.com/issues/show_bug.cgi?id=602