[Ecls-list] Other possible documentation bug?

Goffioul Michael goffioul at imec.be
Fri Apr 8 06:48:48 UTC 2005

> And another one...
> > (documentation 'float 'type)
> #<The CLASS BUILT-IN-CLASS> is not a valid index into the object 10
> Broken at EVAL.

Just a hint. For reasons that are far beyond my understanding, the code
for the relevant method (clos/inspect.lisp):

(defmethod documentation ((object class) doc-type)
  (when (member doc-type '(t type))
    (slot-value object 'documentation)))

is converted to C using STANDARD-INSTANCE-GET. If I directly call:

(clos::standard-instance-get (find-class 'float) 'documentation)

I get the same error message.


More information about the ecl-devel mailing list