www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: shro8822 vandals.uidaho.edu


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

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

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


-- 
Nov 09 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2446


Manuel König <manuelk89 gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |manuelk89 gmx.net
         Resolution|                            |DUPLICATE


--- Comment #1 from Manuel König <manuelk89 gmx.net> 2010-10-11 12:42:21 PDT ---
*** This issue has been marked as a duplicate of issue 3085 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 11 2010