[Issue 1748] Wrong stringof for templated classes

2015-01-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1748 Kenji Hara changed: What|Removed |Added CC||issues.dl...@jmdavisprog.co |

[Issue 1748] Wrong stringof for templated classes

2013-11-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=1748 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 1748] Wrong stringof for templated classes

2013-11-23 Thread d-bugmail
/ceb3bf6370a4d7e3688cce2bda8b8df6467a2f25 fix Issue 1748 - Wrong stringof for templated classes https://github.com/D-Programming-Language/dmd/commit/9eba2f5e2785b0f85a428d7242b9af18aa683887 Merge pull request #2854 from 9rnsr/fix1748 Issue 1748 - Wrong stringof for templated classes -- Configure issuemail: https://d.puremagic.com

[Issue 1748] Wrong stringof for templated classes

2013-11-22 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=1748 Kenji Hara changed: What|Removed |Added Keywords||pull Platform|PowerPC

[Issue 1748] Wrong stringof for templated classes

2008-11-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1748 --- Comment #6 from [EMAIL PROTECTED] 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) {

[Issue 1748] Wrong stringof for templated classes

2008-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1748 --- Comment #5 from [EMAIL PROTECTED] 2008-11-15 22:54 --- If you have a templated struct, it partially works already: --- struct S(T) {} S!(int) s; pragma (msg, typeof(s).stringof); // prints S!(int) pragma (msg, S!(int).stringof); /

[Issue 1748] Wrong stringof for templated classes

2008-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1748 --- Comment #4 from [EMAIL PROTECTED] 2008-11-15 22:52 --- Created an attachment (id=279) --> (http://d.puremagic.com/issues/attachment.cgi?id=279&action=view) Patch to add template parameters to class .stringof --

[Issue 1748] Wrong stringof for templated classes

2008-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1748 --- Comment #3 from [EMAIL PROTECTED] 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: type

Re: [Issue 1748] Wrong stringof for templated classes

2008-11-11 Thread Christopher Wright
Scratch that. This isn't a straightforward fix.

[Issue 1748] Wrong stringof for templated classes

2008-11-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1748 --- Comment #2 from [EMAIL PROTECTED] 2008-11-10 13:35 --- It looks like fixing this will require giving Dsymbol a reference to a TemplateInstance, eliminating the nesting part (or giving an option to omit it), then modifying *::toCha

[Issue 1748] Wrong stringof for templated classes

2008-11-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1748 --- Comment #1 from [EMAIL PROTECTED] 2008-11-10 10:02 --- This is really hurting me with CTFE + mixins. I can't use templated classes without creating a subclass for each template instantiation, and I can't use templated structs, if