knowing that this is roel that probably wrote that I would pay really  
attention
because it is certainly something tricky.

On Oct 25, 2009, at 1:36 PM, Igor Stasenko wrote:

> I discovered a puzzling behavior:
>
> removeElement: element
>       | oldCat |
>       oldCat := self categoryOfElement: element.
>       SystemChangeNotifier uniqueInstance doSilently: [
>               super removeElement: element].
>       self notifyOfChangedSelector: element from: oldCat to: (self
> categoryOfElement: element).
>
>
> I staring at it and i wonder, what the author meant by doing:
>
>   super removeElement: element
>
> which effectively wipes out given element, but then next line uses:
>
>   self categoryOfElement: element
>
> huh???
>
>
>
> -- 
> Best regards,
> Igor Stasenko AKA sig.
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to