[Pharo-project] problem with Dictionary and KeyNowFound

Camillo Bruni camillo.bruni at inria.fr
Thu May 19 23:55:33 CEST 2011

IMO this shouldn't change a thing, since KeyNotFound inherits from Error...
having a look at it

On 2011-05-19, at 23:45, Mariano Martinez Peck wrote:
> So...it seems Pharo1.3 change Dictionary to throw KeyNotFound instead of Error. 
> Now, my image freezes with a loop. I would appreciate some help. I couldn't really analyzed the problem.
> Fileine both FLPerson.st and ATest and run the test testDictionaryRehash.
> In such test, a the end there is a 
>     self shouldnt: [aDictionary at: newPerson1] raise: KeyNotFound.
> which raises the debugger pre-popup. if I try to click on the popup... -> loop/freeze.
> You can interrupt it and see more or less what is happening.
> Camillo, can you take a look?

More information about the Pharo-project mailing list