On May 2, 2012, at 10:27 AM, Mariano Martinez Peck wrote: > > Ok, I wrote an ugly test and I noticed that the ONLY method with this > problem in the image is > > > | behaviorAssociations broken | > behaviorAssociations := Smalltalk globals associations select: [:each | each > value isBehavior or: [each value isTrait]]. > broken := OrderedCollection new. > (CompiledMethod allInstances select: [:each | each isInstalled]) > do: [:aMethod | aMethod literals > do: [:aLiteral | aLiteral isVariableBinding > ifTrue: [ ((behaviorAssociations > includes: aLiteral) > and: > [(behaviorAssociations identityIncludes: aLiteral) not]) > ifTrue: [broken add: > (aMethod -> aLiteral)] > ] > ] > ]. > broken inspect > > And I have 6 methods from the classes SmalltalkImage and ScriptLoader and all > the 6 literals are pointing to ScriptLoader. So something weird happened with > this class. > Any idea? > Maybe monticello does not recompile sometimes a method when it should?
> For the moment I will update the test and do a Compiler recompileAll. > ok. -- Marcus Denker -- http://marcusdenker.de
