[BUG][FIX] String>>string missing

Randal L. Schwartz merlyn at stonehenge.com
Tue Feb 6 03:55:36 UTC 2001


String>>string was being called while trying to create the postscript
for a morph.

My patch adds it as ^self, but this feels wrong.  How many other
things need to know about becoming a "string"?  And wasn't that work
already done?

-------------- next part --------------
'From Squeak2.9alpha of 5 September 2000 [latest update: #3299] on 3 February 2001 at 8:02:35 am'!
"Change Set:		String-string-missing-method
Date:			3 February 2001
Author:			Randal Schwartz

Clipboard>>clipboardText: failed on a morph's Copy As PS.  Created missing method for this case, but perhaps should have been done by testing protocol instead."!


!String methodsFor: 'converting' stamp: 'rls 2/3/2001 07:55'!
string
	"null event to convert to string (needed for Clipboard>>clipboardText:)"

	^self! !

-------------- next part --------------

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


More information about the Squeak-dev mailing list