#605 simple condition printing ignores user-supplied methods

clisp (525)

(with-output-to-string (s)
(define-condition my-simple (simple-condition) ()
(:report (lambda (c s)
(format s "good: ~S overrides SIMPLE-CONDITION" (type-of c)))))
(princ (make-condition 'my-simple :format-control
"bad: SIMPLE-CONDITION overrides MY-SIMPLE") s))
sbcl: "good: MY-SIMPLE overrides SIMPLE-CONDITION"
clisp: "bad: SIMPLE-CONDITION overrides MY-SIMPLE"


  • Sam Steingold

    Sam Steingold - 2011-08-02

    thank you for your bug report.
    the bug has been fixed in the source tree (mercurial/hg).
    you can either wait for the next release (recommended)
    or check out the current mercurial tree (see http://clisp.org\)
    and build CLISP from the sources (be advised that between
    releases the source tree is very unstable and may not even build
    on your platform).

  • Sam Steingold

    Sam Steingold - 2011-08-02
    • status: open --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks