[Issue 11977] Regression 2.065.b1: goto skips declaration of variable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 23 06:05:20 PST 2014


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |yebblies at gmail.com
         Resolution|                            |INVALID


--- Comment #1 from yebblies <yebblies at gmail.com> 2014-01-24 01:05:17 EST ---
As you can see, the goto clearly skips the initialization of x.

Not a regression, the compiler is finally following the spec: "It is illegal
for a GotoStatement to be used to skip initializations."

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


More information about the Digitalmars-d-bugs mailing list