|
From: | Paolo Bonzini |
Subject: | [Help-smalltalk] Re: GC bug |
Date: | Sat, 05 Jun 2010 14:26:20 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Thunderbird/3.0.4 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |