On 19 mai 09, at 14:43, Laval Jannik wrote:
Hi all,
When I want to open a MooseBrowser, a warning appears: 'Old implementation removed since it was not license clean.'
This is because in MSEPragmaProcessor>>processClass:, there is "aClass methodDictionary do: [ ---something---]" methodDictionary is a MethodDictionary. And in this class the method do: is deprecated in the last version of pharo.
How can I replace it ?
You do not need to replace the method, just replace the above code by:
aClass methodDictionary values do:
and it works.
I have not checked but I guess that the previous do: was just a delegating method.
The old method is:
do: aBlock tally = 0 ifTrue: [^ self]. 1 to: self basicSize do: [:i | (self basicAt: i) == nil ifFalse: [aBlock value: (array at: i)]]
Thanks
Jannik Laval PhD Student - Rmod Team - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon