[Issue 23570] UDAs do not carry over in foreach over tupleof

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 20 13:15:33 UTC 2022


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
I don't think this can be "fixed". The problem is that the foreach is
technically a runtime construct, therefore, the compiler sees `i` and `symbol`
as runtime variables. I'm not sure if this can be fixed, looking into it.

--


More information about the Digitalmars-d-bugs mailing list