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

           Summary: Usiing qualified delegate type in template argument
                    causes parser error.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: k.hara...@gmail.com
        Depends on: 4838


--- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2012-10-14 20:38:19 PDT ---
Spin out issue from bug 8813.

This is a rest of bug 4838.

void main()
{
    struct S { void foo() const {} }
    S s;
    void delegate() const dg = &s.foo;      // OK

    void foo(void delegate() const dg){}    // OK

    struct Foo(T) {}
    alias Foo!(void delegate() const) X;    // NG
}

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

Reply via email to