Dictionaries broken in 3.9a

stéphane ducasse ducasse at iam.unibe.ch
Sun Sep 18 08:30:42 UTC 2005


Daniel

which cs?

Stef

> The other method in the same change set broke finalization in 3.9,  
> BTW.
>
> Daniel
>
> stéphane ducasse wrote:
>
>> Strange since we did not even introduce the changes of andrew on   
>> associations....
>> I will look at that.
>> Stef
>> On 18 sept. 05, at 08:48, Andreas Raab wrote:
>>
>>> Hi -
>>>
>>> Trying out some stuff, I noticed that
>>>
>>>   dd := Dictionary new.
>>>   dd at: nil put: #none.
>>>
>>> will raise an error in 3.9a saying that "Dictionaries cannot   
>>> meaningfully key by nil". That makes no sense. Dictionaries can   
>>> perfectly contain nil keys, they always have and they always will.
>>>
>>> Could somebody please explain to me why we no longer allow a   
>>> perfectly good key in dictionaries?
>>>
>>> Cheers,
>>>   - Andreas
>>>
>>>
>>>
>
>




More information about the Squeak-dev mailing list