rydis@CD.Chalmers.SE (Martin Rydstr|m) writes:
The problem seems to be that kernel:%function-self, called by arglist, in that case, returns a general-ish #<Function "DEFUN INITIALIZE-BYTE-COMPILED-FUNCTION>, which has that kind of arglist.
That's true. It looks as if CMUCL doesn't record the arglist for byte-compiled functions. I added some code to derive the arglist from the number of argument with some artificial names. The result for your example function is: (arg0 &rest arg1). Byte-compiled functions are primarily a space optimization, so this is probably the best we can do without adding more debug information.
Helmut.