X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fir1report.lisp;h=f621c93ff4ff61029cf8d9eb957c36e5b60aa753;hb=23a229276c2447a658b7a30217ec774067c27d5e;hp=0a90d60572d5d44ec374b5a9505bfdeebb6e858d;hpb=cb83aa22932bf4b9bc74ac6f0fcd91db1702ad33;p=sbcl.git diff --git a/src/compiler/ir1report.lisp b/src/compiler/ir1report.lisp index 0a90d60..f621c93 100644 --- a/src/compiler/ir1report.lisp +++ b/src/compiler/ir1report.lisp @@ -399,10 +399,10 @@ has written, having proved that it is unreachable.")) (values)) ;; Issue a note when we might or might not be in the compiler. - (defun maybe-compiler-notify (&rest rest) + (defun maybe-compiler-notify (datum &rest args) (if (boundp '*lexenv*) ; if we're in the compiler - (apply #'compiler-notify rest) - (with-condition (condition (car rest) (cdr rest)) + (apply #'compiler-notify datum args) + (with-condition (condition datum args) (let ((stream *error-output*)) (pprint-logical-block (stream nil :per-line-prefix ";") (format stream " note: ~3I~_")