Dictionaries broken in 3.9a

stéphane ducasse ducasse at iam.unibe.ch
Sun Sep 18 07:33:49 UTC 2005


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