[Issue 20081] Add pragma(identifier, StringExp)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 5 00:59:50 UTC 2019


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

Adam D. Ruppe <destructionator at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator at gmail.com

--- Comment #4 from Adam D. Ruppe <destructionator at gmail.com> ---
I'd actually prefer the syntax just to be mixin. Change the grammar so
declaration names can be replaced with mixin(x) and the mixin must return an
identifier as a string.

But regardless, yes, this would basically finish `static foreach` imo.

--


More information about the Digitalmars-d-bugs mailing list