[Issue 4101] [tdpl] DMD doesn't give error when goto skips initialization
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Dec 18 18:20:29 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4101
Andrei Alexandrescu <andrei at metalanguage.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrei at 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 <andrei at 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: -------
More information about the Digitalmars-d-bugs
mailing list