[dmd-internals] [D-Programming-Language/dmd] 6ef6b7: Fixes Issue 5385 - Access must be checked for stat...

Philippe Sigaud philippe.sigaud at gmail.com
Sun Dec 23 01:46:11 PST 2012


> Thanks for the hint, this now works:
>
> bool listMembers(T)()
> {
>     static if (is(T P == super))
>         static if(P.length > 0)
>             listMembers!(P[0])();
>
>     alias typeof(T.tupleof) TTypes;
>

I don't get this. T is a type, right? So what does T.tupleof do? Shouldn't
that be `typeof(T.init.tupleof)`?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20121223/71f5f8ad/attachment.html>


More information about the dmd-internals mailing list