stephane.ducasse at inria.fr
Thu Apr 14 20:15:25 CEST 2011
Ok in fact I should have check do: first and I will change thses users of do: to replace with doValues:
because I was following a wrong road because of it.
>>> dict array == nil
>>> should not happen, but
>>> (dict array at: someindex ) == nil
>>> is quite normal.
>> I do not know I have a do: loop and some elements are nil and break the loop.
> do: iterates the values in the Dictionary, and yes, it's perfectly valid to have a pair someKey -> nil in the dictionary.
> Why you have it (ie who put it there), and if it should be valid in your case, you'd have to figure out :)
More information about the Pharo-project