Hi,
SequenceableCollection>>last answers the last element of the receiver,
and is implemented as:
^ self at: self size.
It is an index error, when size is 0.
I assume this is a design choice, rather than a bug; but I'm too new to
know. Anyway, in 3.10.2, when I tried the menu path
"World::Help::Preferences::Help!", it threw the exception, apparently
because of an empty aHelpString. So I guess either
Preferences>>giveHelpWithPreferences should be checking for empty
stings, or the source data (the help strings) are improperly formatted.
I didn't know what else to do with my new found knowledge, so here I am.
--
Jerry
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners