[Issue 20369] shadowed variable in foreach loop always considered "foreach variable"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 19 22:36:52 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20369
--- Comment #2 from Rainer Schuetze <r.sagitario at gmx.de> ---
I consider "k" and "v" to be the "foreach variables", not any local variable
elsewhere. I don't expect that the compiler tells me that the variable is
declared inside the body of a foreach,while,if or similar.
--
More information about the Digitalmars-d-bugs
mailing list