www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - RTTI bug

This is from another post.  I'm just posting it here to bring big W's 
attention to it:

class Thing(T)
{
}

void main()
{
     Thing!(int) thing = new Thing!(int);
     printf("%.*s\n", thing.classinfo.name);

}

output:
Thing

Parhaps the output should really be:
Thing!(int)

If not why not?

-- 
-Anderson: http://badmama.com.au/~anderson/
May 25 2004