[Pharo-project] problem with Dictionary and KeyNowFound

Mariano Martinez Peck marianopeck at gmail.com
Thu May 19 17:45:03 EDT 2011


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?

Thanks

-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20110519/7177bba9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATest.st
Type: application/octet-stream
Size: 934 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20110519/7177bba9/attachment.st>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FLPerson.st
Type: application/octet-stream
Size: 880 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20110519/7177bba9/attachment-0001.st>


More information about the Pharo-dev mailing list