[Issue 11946] "need 'this' to access member" when passing field to template parameter

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 6 23:24:20 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=11946

--- Comment #42 from Jacob Carlborg <doob at me.com> ---
(In reply to Walter Bright from comment #40)

> It also has nothing to do with Issue 11946, and should be filed separately
> if you feel it needs to be addressed further.

The reason I'm asking is because if I remove "private" I get the same error as
reported in this issue. And the workaround in Kenji's first post [1] fixes the
problem.

[1] https://issues.dlang.org/show_bug.cgi?id=11946#c1

--


More information about the Digitalmars-d-bugs mailing list