www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10353] New: Parser should accept 'super' template argument without parenthesis

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10353

           Summary: Parser should accept 'super' template argument without
                    parenthesis
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: k.hara.pg gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg gmail.com> 2013-06-13 18:43:48 PDT ---
Currently Foo!this is accepted but Foo!super isn't.

template Foo(alias X) {}
class C
{
    void foo()
    {
        alias F1 = Foo!this;  // OK
        alias F2 = Foo!super; // NG
    }
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 13 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10353


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-06-13 18:50:23 PDT ---
Sorry, I had misunderstood.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 13 2013