[Issue 20369] shadowed variable in foreach loop always considered "foreach variable"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 1 09:23:10 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=20369

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

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

--- Comment #4 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #15934 "Fix issue 20369 - shadowed variable in foreach
loop always considered "foreach variable"" was merged into master:

- 8f9476e762b3de323ea86b72a621b8ee92cd6778 by Danil Sidoruk:
  Fix issue 20369 - shadowed variable in foreach loop always considered
"foreach variable"

  * Remove unintuitive phrase in deprecation message
  * Fix deprecation message in test

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

--


More information about the Digitalmars-d-bugs mailing list