goto skips declaration of variable
ollie via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Aug 18 09:07:39 PDT 2014
On Mon, 18 Aug 2014 13:51:12 +0000, nrgyzer wrote:
> When I try to compile this sample application I'm getting the
> following error:
>
> sample.d(7): Error: goto skips declaration of variable
> sample.main.__ctmp1344 at sample.d(9)
>
http://dlang.org/changelog.html#disable_goto_skips_init
First item in D2.065 Changelog for language changes :
1. Goto jumps now cannot skip variable declarations
More information about the Digitalmars-d-learn
mailing list