[Pharo-project] problem with Dictionary and KeyNowFound

Mariano Martinez Peck marianopeck at gmail.com
Thu May 19 18:03:51 EDT 2011


On Thu, May 19, 2011 at 11:55 PM, Camillo Bruni <camillo.bruni at inria.fr>wrote:

> IMO this shouldn't change a thing, since KeyNotFound inherits from Error...
> having a look at it
>
> yes i know :(
but in pharo 1.2 it works. That's why  I thought it could be related to
that.


>
> 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?
>



-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20110520/5f0b024f/attachment.html>


More information about the Pharo-dev mailing list