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

           Summary: template instance x cannot use local y as parameter to
                    non-global template z
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: simend...@gmail.com


--- Comment #0 from simendsjo <simend...@gmail.com> 2013-09-22 07:04:24 PDT ---
Using dmd head.

template A(T...) {
    template B(alias T) { }
}

void main() {
    void fv() {}
    alias A!(fv) F;
    F.B!F;
}

t.d(8): Error: template instance B!(A!(fv)) cannot use local 
'A!(fv)' as parameter to non-global template B(alias T)

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

Reply via email to