[Issue 21746] Discrepancy between foreach over tuple and static foreach

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 22 09:58:17 UTC 2021


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

moonlightsentinel at disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel at disroot.o
                   |                            |rg

--- Comment #1 from moonlightsentinel at disroot.org ---
Ins't that expected behavior? `static foreach` explicitly does not create a new
scope while "normal" foreach does.

--


More information about the Digitalmars-d-bugs mailing list