This needs to be fixed
Dom DiSc
dominikus at scherkl.de
Sun Aug 25 09:08:15 UTC 2024
On Sunday, 25 August 2024 at 06:59:11 UTC, Manu wrote:
> Here's another one just now:
>
> return __traits(getMember, instance, funName)(args); // this
> works as it
> should
>
>
> alias fun = __traits(getMember, instance, funName);
> return fun(args); // error : calling non-static function
> `myFun` requires
> an instance of type `T`
Funny error message. Where does myFun and T come from?
More information about the Digitalmars-d
mailing list