[Issue 4503] forward reference to aliased template instance

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 24 12:05:54 PDT 2010


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



--- Comment #1 from Trass3r <mrmocool at gmx.de> 2010-07-24 12:05:53 PDT ---
error occurs at mtype.c:5542
if (t->ty == Tinstance && t != this && !t->deco)
{   error(loc, "forward reference to '%s'", t->toChars());
    return;
}

This is also true if ICollection is referenced like this:
void foo(ICollection c)
{
}

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


More information about the Digitalmars-d-bugs mailing list