KeyedCollection in VW 9.3.1
Steffen Märcker <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.vwnc |
|---|---|
| Message-ID | <[email protected]> |
Hi, I was just debugging a weird problem with a method "foo" defined in KeyedCollection class>>foo that overrides a method in Collection class>>foo. However, if I send #foo to a subclass of KeyedCollection, e.g., SequencableCollection, the implementation from KeyedCollection class is never called but always the one from Collection class. However, the browser clearly indicates that the method is indeed overridden. After inspecting the metaclasses, I found that KeyedCollection is skipped, e.g. SequenceableCollection class inherits directly from Collection instead. All this is in a clean 9.3.1 (pul) image. Am I lost in metaclasses or is something not quiet right here? Best, Steffen