[Issue 5404] .stringof is not documented

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 3 13:04:29 PST 2011


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



--- Comment #2 from Peter Alexander <peter.alexander.au at gmail.com> 2011-01-03 13:02:17 PST ---
Finally, is there any reason that the return value is prefixed with "module"?

1. I can't imagine any use for it.
2. If people needed it, it would be trivial to add ("module " ~ .stringof)
3. If they don't want it, it's a little trickier (splitter(.stringof)[1], or
ugly .stringof[7..$])

I would recommend that in module foo, .stringof == "foo".

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list