[Ecls-list] Methods with no arguments

Julian Stecklina Julian.Stecklina at mailbox.tu-dresden.de
Sat Dec 4 11:13:01 UTC 2004


Hello,

I tried to fix ECL in regard to methods with no arguments. The patch is
attached. I am unsure whether this breaks something else, but at least ECL now
loads swank-backend.lisp and swank.lisp from SLIME.

Btw, I noticed:

> (defmethod foo (x) 1)
#<a STANDARD-METHOD>
Top level.
> (defmethod foo (x y) 2)
NIL is not of type CONS.
Broken at CLOS::INSTALL-METHOD.
>> :backtrace
Backtrace: CLOS::INSTALL-METHOD > eval
Broken at CLOS::INSTALL-METHOD.

My understanding of the code in clos/kernel.lsp is too limited to fix this. :-/

Regards,
Julian Stecklina

PS. I am mailing from the web, so I cannot change application/octet-stream to
text/plain for the attachment. If it does get discarded, you can get the patch
at http://www.inf.tu-dresden.de/~s1054849/clos.diff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clos.diff
Type: application/octet-stream
Size: 1537 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20041204/623c8209/attachment.obj>


More information about the ecl-devel mailing list