Would be nice if compiler gave more information!
Timon Gehr
timon.gehr at gmx.ch
Thu Jun 14 12:12:34 UTC 2018
On 14.06.2018 13:30, DigitalDesigns wrote:
>
> All I know is that using the code
>
> static foreach(a; ["wchar", "ushort"])
> mixin("void bar("~a~" value) { foo(); }");
>
> is what is causing it. Manually giving the functions works fine.
This works:
void foo(){}
static foreach(a; ["wchar", "ushort"])
mixin("void bar("~a~" value) { foo(); }");
If you can give a code snippet that causes the crash, I can probably
figure out what's going wrong.
More information about the Digitalmars-d
mailing list