Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#512 poor error messages from GF funcalls

lisp error
closed-fixed
Sam Steingold
clisp (525)
5
2008-12-31
2008-12-30
Sam Steingold
No

The error message for (close s :abort) is just about as bad as it ever gets:

#:COMPILED-FORM-134-1: keyword arguments in (:ABORT) should occur pairwise

This comes from one of the many "(eval ... (declare (compile)) ...)" forms in
clos*.lisp.
I wonder how it would be possible to pass a reasonable method name to the
method function to overwrite the #:COMPILED-FORM-134-1 abomination.
One idea I had was to allow the (compile) declaration to accept a function
name, e.g..
(lambda () (declare (compile foo)) ...) ==> #<compiled-function foo>

<http://article.gmane.org/gmane.lisp.clisp.devel/19775>

Discussion

  • Sam Steingold
    Sam Steingold
    2008-12-30

    <http://article.gmane.org/gmane.lisp.clisp.devel/19776>
    <http://article.gmane.org/gmane.lisp.clisp.devel/19777>

     
  • Sam Steingold
    Sam Steingold
    2008-12-31

    • assigned_to: haible --> sds
    • status: open --> closed-fixed
     
  • Sam Steingold
    Sam Steingold
    2008-12-31

    fixed by (COMPILE [name]) declaration