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

Reply via email to