[squeak-dev] Error when removing the last method from a MessageSet
Levente Uzonyi
leves at elte.hu
Tue Apr 26 00:16:40 UTC 2011
Hi,
I was removing all methods from an implementors browser and when I removed
the last one, I got an error (attemt to index non-existent element in an
ordered collection), because Browser >> #reformulateList is not prepared
for this case. A possible solution is to return nil from #lastMessageName
when there are no messages, though I'm not 100% sure this is the right
thing to do.
Cheers,
Levente
More information about the Squeak-dev
mailing list
|