[Issue 1748] Wrong stringof for templated classes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 15 20:04:24 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1748
------- Comment #3 from dhasenan at gmail.com 2008-11-15 22:04 -------
This isn't a straightforward fix after all. I've seen some situations in which
a string representation closer to what we would need is shown...
With structs, I'm seeing:
typeof(a).stringof prints the correct result
A!(int).stringof prints the wrong result
This will give at least a workaround with a minimum of effort.
--
More information about the Digitalmars-d-bugs
mailing list