Status: Accepted
Owner: [email protected]
Labels: Milestone-1.3

New issue 3665 by [email protected]: 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 via email to