[Issue 1748] Wrong stringof for templated classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 23 06:43:10 PST 2008


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





------- Comment #6 from dhasenan at gmail.com  2008-11-23 08:43 -------
The patch I submitted fixes the case of:
class S(T){}

I don't think it fixes any other cases:
class S(T)
{
   class B {}
}
S!(int).B.stringof == B

template Template(T)
{
   struct S {}
}
Template!(int).S.stringof == S

However, it does cover the basic case, which is something of an improvement.
I'll see what I can do about everything else. Additionally, I think there might
be something going on with nested template .stringof that I have to look into.


-- 



More information about the Digitalmars-d-bugs mailing list