[Issue 2195] Variable shadowing in foreach is not detected and reported

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 28 13:38:43 PDT 2012


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



--- Comment #8 from yebblies <yebblies at gmail.com> 2012-10-29 07:38:42 EST ---
(In reply to comment #7)
> DMD 2.060
> 
> Similar case, where the variable is declared as foreach type list identifier
> 
> [snip]

This case is not a bug/not this bug, local variables are allowed to shadow
globals.

-- 
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