enum strings in import

Anonymouse zorael at gmail.com
Tue May 3 17:41:55 UTC 2022


On Monday, 2 May 2022 at 12:03:20 UTC, Quirin Schroll wrote:
> The simplest solution is to allow `mixin(expression)` not only 
> to generate declarations, expressions and statements, but also 
> to generate identifiers.

`mixin("someInt") = 5` works today, so I was actually surprised 
to see `import mixin("some.module")` doesn't.


More information about the Digitalmars-d mailing list