This results in the method on integer being called, which then passes a string to call-next-method. However, this fails because the string is not compatible with the current method.
This usually indicates programmer error; if the intention above was to call the string method on the result of number>string, the code should be rewritten as follows: