Hi Lukas. BogusSnapshotResource >> restoreMethod: ref    is using the and:
and: that was just deprecated in Pharo 1.1.

Just replacing it by this I think should work:

restoreMethod: ref
    | definition |
    definition := snapshot definitions detect:
            [ :ea |
            ea isMethodDefinition and: [ (ea className = ref classSymbol )
                and: [ ea selector = ref methodSymbol ] ]]
        ifNone: [ ^ self removeMethod: ref ].
    definition load


cheers

mariano
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to