[Issue 4503] forward reference to aliased template instance

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4503

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|D1  D2 |D2

--


[Issue 4503] forward reference to aliased template instance

2010-08-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4503


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||clugd...@yahoo.com.au
 Resolution||FIXED


--- Comment #7 from Don clugd...@yahoo.com.au 2010-08-29 12:39:56 PDT ---
Fixed DMD1.063 and 2.048.

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


[Issue 4503] forward reference to aliased template instance

2010-08-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4503


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com


--- Comment #6 from Walter Bright bugzi...@digitalmars.com 2010-08-08 
21:32:00 PDT ---
http://www.dsource.org/projects/dmd/changeset/607

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


[Issue 4503] forward reference to aliased template instance

2010-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4503


Trass3r mrmoc...@gmx.de changed:

   What|Removed |Added

   Keywords||patch


--- Comment #2 from Trass3r mrmoc...@gmx.de 2010-07-25 14:04:50 PDT ---
A test with

if (t-ty == Tinstance  t != this  !t-deco)
{   //error(loc, forward reference to '%s', t-toChars());
//return;
t = t-semantic(loc, sc);
}

solved this issue. Don't know if that causes other problems though.

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


[Issue 4503] forward reference to aliased template instance

2010-07-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4503



--- Comment #1 from Trass3r mrmoc...@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: ---