For scopes below procedure level (loops, etc.) DMD should emit BLOCK and WITH symbols to disambiguate variable symbols with equal names.
Ambiguous symbol names occur quite often in functions with multiple for loops.
LABEL symbols could also be emitted for convenience.
jascha reported this on 2007-04-29T11:36:21Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=1201
Description
For scopes below procedure level (loops, etc.) DMD should emit BLOCK and WITH symbols to disambiguate variable symbols with equal names. Ambiguous symbol names occur quite often in functions with multiple for loops.
LABEL symbols could also be emitted for convenience.