Comment #9 on issue 3581 by snoob...@yahoo.ie: [Failing test] 1.1.1 Full: MethodWrappers.Tests.ObjectAsOneTimeMethodWrapperTest.testInstallOnClassCategory
http://code.google.com/p/pharo/issues/detail?id=3581

It will probably work if we modify ObjectAsMethodWrapper>>flushCache
        self selector flushCache.

Would it not be safer to call the addSelector:withMethod as it sets up any other state. i.e. Behavior>>addSelectorSilently:withMethod: is called which calls Behaviour>>registerLocalSelector: which I think traits use.





Reply via email to