[Issue 12000] Forward reference issue with RefCounted
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 5 04:24:40 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12000
monarchdodra at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |monarchdodra at gmail.com
--- Comment #6 from monarchdodra at gmail.com 2014-04-05 04:24:32 PDT ---
See also:
http://forum.dlang.org/thread/wokatnixzkulvmfujamr@forum.dlang.org
Reduced to:
//----
struct S(T)
{
static assert(hasIndirections!T);
}
class A(T)
{
S!A a;
}
A!int dummy;
//----
In this case, it should work, since you don't need to know about A to know that
it's a class, and as such, is an indirection.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list