Status: Accepted
Owner: marianopeck
New issue 4299 by marianopeck: problem with Dictionary and KeyNowFound
http://code.google.com/p/pharo/issues/detail?id=4299So...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.
For more details read
http://forum.world.st/problem-with-Dictionary-and-KeyNowFound-tp3537004p3537004.htmlSo....I don't pretend a perfect solution. I committed a fix that solves the
problem. I am WORKING with a Pharo 1.3 so I NEED this fix. If Camillo wants
to improve it later, then no problem.
The fix is basically not to print the whole collection. That doesn't make
sense and it hangs the image.
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker