[Issue 10353] New: Parser should accept 'super' template argument without parenthesis

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 13 18:43:49 PDT 2013


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 at puremagic.com
        ReportedBy: k.hara.pg at gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg at 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: -------


More information about the Digitalmars-d-bugs mailing list