[Issue 20369] shadowed variable in foreach loop always considered "foreach variable"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 19 09:58:23 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20369
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |razvan.nitu1305 at gmail.com
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
I'm not sure I understand this bug report. Is it because the variable inside
the foreach loop is referred to as a foreach variable? You would expect
something along the lines of "Rename the variable in the foreach body"?
--
More information about the Digitalmars-d-bugs
mailing list