Summary: Passing local parameter to non-global template fails.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        Depends on: 3052

--- Comment #0 from ibrahim YANIKLAR <> 2010-06-15 06:50:17 
PDT ---
class C
    void f(int i)()

    void g()
        foreach (i; Range!(1,10))

Error: template instance cannot use local 'i' as parameter to non-global
template f(uint i)

I think it should work.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to