March 14, 2011
6:34 p.m.
Comment #11 on issue 3581 by marianopeck: [Failing test] 1.1.1 Full: MethodWrappers.Tests.ObjectAsOneTimeMethodWrapperTest.testInstallOnClassCategory http://code.google.com/p/pharo/issues/detail?id=3581 The problem is that if you use addSelector:withMethod then you will need to implement a lot of messages, like #methodClass: , #selector: , #pragmas, etc. In summary, a lot of methods from CompiledMethod. Notice that ObjectAsMethodWrapper is subclass of Object, not CompiledMethod. Cheers Mariano