Is this a bug when creating proxies in classes?
via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Aug 25 12:12:47 PDT 2014
On Monday, 25 August 2014 at 18:44:36 UTC, Ali Çehreli wrote:
> It can be explained if the mixed-in template is evaluated at
> the mixin context without bringing in the imported modules to
> that context. I don't know whether it is true or whether it is
> a known limitation.
You're right, that's it! It works when I import std.traits first.
So... the fix is to import std.traits inside template Proxy.
Going to submit a PR.
More information about the Digitalmars-d-learn
mailing list