[slime-devel] swank-ecl method/generic function lambda list printing bug

Matthew Mondor mm_lists at pulsar-zone.net
Fri Nov 13 07:42:23 UTC 2009


Hello,

I noticed lately (using CVS HEAD slime) with CVS HEAD ECL the following
error when attempting to define a PRINT-OBJECT method at the REPL:

(defmethod print-object <interrupted:>

In function SYMBOL-NAME, the value of symbol is
        #<STANDARD-GENERIC-FUNCTION PRINT-OBJECT>
which is not of expected type SYMBOL
   [Condition of type SIMPLE-TYPE-ERROR]

Backtrace:
  0: #<bytecompiled-function 097c4d70>
      Locals:
        SWANK::OPERATOR = DEFMETHOD
        SWANK::ARGUMENTS#1 = (PRINT-OBJECT #S(SWANK::ARGLIST-DUMMY :SWANK::STRING-REPRESENTATION ""))
        #:G4793#2 = (DEFMETHOD PRINT-OBJECT ..)
        SWANK::GF-NAME#3 = PRINT-OBJECT
        SWANK::GF#4 = #<STANDARD-GENERIC-FUNCTION PRINT-OBJECT>
  1: #<bytecompiled-function ARGLIST-FROM-FORM>
      Locals:
        SWANK::FORM = (DEFMETHOD PRINT-OBJECT ..)
  2: #<bytecompiled-function YIELD>
  3: #<bytecompiled-function GROVEL-FORM>
  4: #<bytecompiled-function FIND-SUBFORM-WITH-ARGLIST>
  5: #<bytecompiled-function 097c4a78>
  6: #<bytecompiled-function ARGLIST-FOR-ECHO-AREA>
  7: #<bytecompiled-function BYTECODES>
[...]

The same actually happens whenever a generic function exists for the
method being created.  I have the impression a value which shouldn't be
evaluated is, although I didn't look into the related swank-ecl code
yet.  Possibly someone else already knows exactly what's happening?

Thanks,
-- 
Matt




More information about the slime-devel mailing list