enum strings in import
user1234
user1234 at 12.de
Tue May 3 20:47:25 UTC 2022
On Monday, 2 May 2022 at 12:03:20 UTC, Quirin Schroll wrote:
> On Wednesday, 27 April 2022 at 15:23:32 UTC, IGotD- wrote:
>> [...]
>
> The simplest solution is to allow `mixin(expression)` not only
> to generate declarations, expressions and statements, but also
> to generate identifiers.
No change is required to mixins.
A mixin that gives an expression would work. From the resulting
expression you can trivially extract Identifier(s) from IdentExp
or chain of them.
More information about the Digitalmars-d
mailing list