Bug or enhancement for partition



partition(x,x) causes the following error, isn't this well defined?

partition(x,x);
x is an incorrect arg to PARTITION
 -- an error.  Quitting.  To debug this try DEBUGMODE(TRUE);)