Thread overview
[Issue 2195] Variable shadowing in foreach is not detected and reported
Sep 12, 2019
Dlang Bot
Sep 12, 2019
Dlang Bot
July 19, 2014
https://issues.dlang.org/show_bug.cgi?id=2195

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx

--- Comment #9 from hsteoh@quickfur.ath.cx ---
Still present in git HEAD, compiler accepts the code without error.

--
June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=2195

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|D1 & D2                     |D2

--
September 12, 2019
https://issues.dlang.org/show_bug.cgi?id=2195

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #10 from Dlang Bot <dlang-bot@dlang.rocks> ---
@RazvanN7 created dlang/dmd pull request #10404 "Fix Issue 2195 - Variable shadowing in foreach is not detected and reported" fixing this issue:

- Fix Issue 2195 - Variable shadowing in foreach is not detected and reported

https://github.com/dlang/dmd/pull/10404

--
September 12, 2019
https://issues.dlang.org/show_bug.cgi?id=2195

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #10404 "Fix Issue 2195 - Variable shadowing in foreach is not detected and reported" was merged into master:

- 08399aa0858aa336bec632a8f4110c381c61ea4e by RazvanN7:
  Fix Issue 2195 - Variable shadowing in foreach is not detected and reported

https://github.com/dlang/dmd/pull/10404

--