Comment #8 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

mmmm I don't understand. Check CompiledMethod >> at:put:

at: key put: value
        "Set the value at key to be value."
        | index |
        index := self findElementOrNil: key.
        (self basicAt: index)
                ifNil:
                        [tally := tally + 1.
                        self basicAt: index put: key]
                ifNotNil:
                        [(array at: index) flushCache].
        array at: index put: value.
        self fullCheck.
        ^ value



I think the problem is because ObjectAsMethodWrapper >> flushCache is empty.
what do you think?


Reply via email to