On 06/05/2010 01:25 PM, Gwenaël Casaccio wrote:
Try (Collection >> #includes:) = (Collection >> #includesAnyOf:)

CompiledBlock>>= aMethod [
"Answer whether the receiver and aMethod are equal"

<category: 'basic'>
     self == aMethod ifTrue: [^true].
     ^super = aMethod and: [method = aMethod method]
     ]

[method = aMethod method], this is the bug we will have an infinite loop
=> the CompiledMethod>>#= will again checks the literals which store the
same blocks ...

Great, thanks!

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to