UDA and static struct fields
Andrea Fontana
nospam at example.com
Thu May 24 08:48:30 UTC 2018
On Thursday, 24 May 2018 at 07:59:08 UTC, Simen Kjærås wrote:
> On Thursday, 24 May 2018 at 07:47:54 UTC, Andrea Fontana wrote:
>> Is this a bug or am I missing something?
>>
>> https://run.dlang.io/is/OGHJYX
>>
>>
>> Andrea
>
> This line:
>
> mixin("alias tmp = " ~ s ~ ";");
>
> There's no mention of Symbol in there. If you change it to this:
>
> mixin("alias tmp = Symbol" ~ s ~ ";");
>
> then suddenly things work.
>
> --
> Simen
What?
More information about the Digitalmars-d-learn
mailing list