VocabularygenericError descriptionThrown by
call-next-method if the current method is already the least specific method.
ExamplesThe following code throws this error:
GENERIC: error-test ( object -- )
M: number error-test 3 + call-next-method ;
M: integer error-test recip call-next-method ;
123 error-test
This results in the method on
integer being called, which then calls the method on
number. The latter then calls
call-next-method, however there is no method less specific than the method on
number and so an error is thrown.
DefinitionMethods