www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Regression or bugfix?

reply "simendsjo" <simendsjo gmail.com> writes:
In 2.063.2, (T!int).stringof == "T!(int)". In current head, it's 
"T!int".
Even (T!(int)).stringof == "T!int".

So is this a regression bug or a bugfix?
Sep 22 2013
next sibling parent "simendsjo" <simendsjo gmail.com> writes:
On Sunday, 22 September 2013 at 13:50:00 UTC, simendsjo wrote:
 In 2.063.2, (T!int).stringof == "T!(int)". In current head, 
 it's "T!int".
 Even (T!(int)).stringof == "T!int".

 So is this a regression bug or a bugfix?
Added a ticket so it doesn't get lost: http://d.puremagic.com/issues/show_bug.cgi?id=11100
Sep 22 2013
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 2013-09-22 15:49, simendsjo wrote:
 In 2.063.2, (T!int).stringof == "T!(int)". In current head, it's "T!int".
 Even (T!(int)).stringof == "T!int".

 So is this a regression bug or a bugfix?
Apparently you shouldn't rely on the format of .stringof. See the comment the ones that follow: http://d.puremagic.com/issues/show_bug.cgi?id=10722#c4 -- /Jacob Carlborg
Sep 23 2013