Error: template instance `Reflect!(type)` cannot use local `type` as parameter to non-global template `Reflect(Ts...)()`
Alex
AJ at gmail.com
Sun Apr 7 05:24:38 UTC 2019
Error: template instance `Reflect!(type)` cannot use local `type`
as parameter to non-global template `Reflect(Ts...)()`
mixin(`import `~moduleName!(T)~`;`);
mixin(`alias X = T.`~name~`;`);
super.Reflect!(X);
I realize X is local but I'm trying to figure out why it can't be
passed to a "non-global" template.
More information about the Digitalmars-d-learn
mailing list