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


Andrei Alexandrescu <and...@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |and...@metalanguage.com
            Summary|DMD doesn't give error when |[tdpl] DMD doesn't give
                   |goto skips initialization   |error when goto skips
                   |                            |initialization


--- Comment #3 from Andrei Alexandrescu <and...@metalanguage.com> 2011-12-18 
18:20:26 PST ---
Another example:

unittest
{
      goto target;
      int x = 10;
      target:
      int y = x;
}

TDPL claims that that can't happen.

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

Reply via email to