Issue 3665 in pharo: asStringOrText should invoke asString

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 3665 in pharo: asStringOrText should invoke asString

pharo
Status: Accepted
Owner: [hidden email]
Labels: Milestone-1.3

New issue 3665 by [hidden email]: asStringOrText should invoke  
asString
http://code.google.com/p/pharo/issues/detail?id=3665

to be discussed


#asStringOrText should return the receiver #asString, not printString.  
This is the correct behavior to be able to render first-class objects in  
PluggableListMorphs without quotes around them.

=============== Diff against Kernel-ul.540 ===============

Item was changed:
  ----- Method: Object>>asStringOrText (in category 'converting') -----
  asStringOrText
        "Answer a string that represents the receiver."
+       ^ self asString!
-
-       ^ self printString !





Reply | Threaded
Open this post in threaded view
|

Re: Issue 3665 in pharo: asStringOrText should invoke asString

pharo
Updates:
        Labels: -Milestone-1.3

Comment #1 on issue 3665 by [hidden email]: asStringOrText should  
invoke asString
http://code.google.com/p/pharo/issues/detail?id=3665

(No comment was entered for this change.)