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

           Summary: forward reference error when 2-fold aliasing a
                    template instance
           Product: D
           Version: 2.041
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: mrmoc...@gmx.de


--- Comment #0 from Trass3r <mrmoc...@gmx.de> 2010-06-03 15:24:52 PDT ---
alias Bar Bar2; // but the second one doesn't
alias Foo!(1) Bar; // 1 alias "level" works

//alias Bar Bar2; // putting it behind the 1st alias makes it work

template Foo(uint ver)
{
}

ddraw.d(1): Error: forward reference to 'Foo!(1)'

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

Reply via email to