Hello list,

in our OOP course we noticed some behaviour of an abstract method, which I cannot explain. Maybe you can help me:

If I do the following

    SequenceableCollection new add: 123

I would expect an Error. The method add: is not implemented in SequenceableCollectionbut inherited from collection, where it's only statement is

    self subclassResponsibility

But in reality, Pharo seems to enter an endless loop, consuming more and more memory.

Can someone please explain to me, what happens here?

Greetings,
Michael

Reply via email to