Hi,

The code bellow should move all methods to a 'code' protocol.

It works on some classes but not with all. In the later it results in a
"no message" protocol.

I can't find a reproductible case on the system classe, it may break in
a class, then on a retry may not break on the same class.

However applying twice the code bellow to the same class result in a no
message protocol every time


"Buggy"
org := MyClass organization protocolOrganizer.
org addProtocolNamed: 'code'.
org allProtocols do: [:aProtocol | org moveMethodsFrom: aProtocol name
to: 'code'].
org removeEmptyProtocols.


-- 
Dr. Geo
http://drgeo.eu



Reply via email to