[Issue 2446] New: parser rejects indexed tuple as type in Type.StaticMember syntax

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 9 22:22:55 PST 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2446

           Summary: parser rejects indexed tuple as type in
                    Type.StaticMember syntax
           Product: D
           Version: 1.036
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: shro8822 at vandals.uidaho.edu


template tpl(T...){alias T tpl;}

struct B { alias int C; }
alias tpl!(B) A;

A[0].C a; // ERROR HERE


-- 



More information about the Digitalmars-d-bugs mailing list