[Issue 6683] Skipping declaration with goto resulted in nonsense

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 16 17:48:09 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6683



--- Comment #3 from Simen Kjaeraas <simen.kjaras at gmail.com> 2011-09-16 17:47:46 PDT ---
It's the latter. Not only do you run the risk of your variables being garbage,
but your code might not compile on a future compiler. (not that this has ever
*not* been a problem with D, mind)

The compiler is free to issue an error or not, but the code is definitely
wrong.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list