[BUG][FIX] Problem in string comparaison in 3.8beta ( Can you suggest a test case? )

tomkoenig at mindspring.com tomkoenig at mindspring.com
Tue Nov 16 03:33:08 CET 2004


I created a subclass of string and tried to see if that would fail
without this change but it passed.

In addition the logic seems backwards
aString isString ifFalse: [
		aString class == MultiString ifTrue: [^ aString = self].
		aString isText ifTrue: [^ self = aString string].
		 false
	].
achieve the same thing and be cleaner?


More information about the Squeak-harvest mailing list