Attempting to add an element to an equality indexed collection, where the element being added does not conform to the restrictions of the lastElementClass specified by the index, results in an error.
However, the incorrect error was being signaled. The error being triggered was error 2010, a MessageNotUnderstood,"a SmallInteger does not understand #'signal'". The appropriate error should be error 2300, "Attempt to insert a key into the B-tree that was an invalid class for which the B-tree was created".
Last updated: 8/12/14