Summary: aliasing type tuple elements' members is onerous
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from Ellery Newcomer <> 2011-08-11 
19:32:04 PDT ---
code like 

struct X(T){
    alias T TT;
alias TypeTuple!(int,int, X!string) G;
alias G[2].TT TT; // <-- parse failure

doesn't work. It's just not built in to the D grammar.

Of course, the workaround is simply

alias G[2] G2;
alias G2.TT TT;

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to