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


ibrahim YANIKLAR <yanik...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|nob...@puremagic.com        |bugzi...@digitalmars.com


--- Comment #1 from ibrahim YANIKLAR <yanik...@gmail.com> 2010-11-27 10:37:15 
PST ---
The code below works:

class C
{
    void f(int i)()
    {
    }

    void g()
    {
        foreach (i; Range!(1,10))
            h!(i)(this);
    }
}

void h(int i)(C c)
{
    c.f!(i)();
}

Probably that is only a compiler limitation and can be fixed (or removed)
without much effort.

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

Reply via email to