[squeak-dev] DictionaryIntegrityTest >> #testDictionaries failure
Chris Muller
ma.chris.m at gmail.com
Tue May 14 22:03:17 UTC 2013
> | a |
> a := dictionary associationAt: x.
> a value: a value + 1
>
> instead of:
>
> | v |
> v := dictionary at: x.
> dictionary at: x put: v + 1.
Oh, nice.. Now I feel like I need to go through my code and see if
I'm doing it the double-lookup way.. :) Thanks.
More information about the Squeak-dev
mailing list
|