Bug in rest() function?



Hi

(%i1) rest(x^2);
Wrong number of arguments to "^"
 -- an error.  Quitting.  To debug this try DEBUGMODE(TRUE);
(%i2)