[slime-devel] [patch] ECL compute-applicable-methods-using-classes

Andy Hefner ahefner at gmail.com
Fri Nov 13 15:01:23 UTC 2009


Currently, attempting to produce the arglist for make-instance given
some class name causes an error because the
compute-applicable-methods-using-classes function isn't defined by
ECL. Attached is a patch that adds a stub version of the function
which at least makes it possible to type make-instance calls without
interruption by an error. In fact, you even get an arglist, although
it isn't necessarily correct - for instance, given a defclass such as
(defclass foo () (myslot :initarg myinitarg)), Slime presents the
arglist as (make-instance 'foo &rest initargs &key (myslot
clos::+initform-unsupplied+)), using the slot name rather than the
initarg name. I haven't investigated where that comes from, but it's
better than nothing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecl-make-instance-arglist.patch
Type: text/x-patch
Size: 552 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20091113/641a0bb7/attachment.bin>


More information about the slime-devel mailing list