On 08/18/2014 09:07 AM, ollie wrote:
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
So, that is the change that caused this regression. nrgyzer's code does
not violate that rule.
Ali