X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fcompiler-error.lisp;h=aa597ce10a81481e281f431130854bed8dba2ef1;hb=70b392926636cc0d870a6e4e7dd8b574f998633d;hp=d2fbbfbe47ae2934b32daff5347fe26404d1b8c0;hpb=c2431e2d0d0222a3cf20cfdfa48201bdcc65cd76;p=sbcl.git diff --git a/src/compiler/compiler-error.lisp b/src/compiler/compiler-error.lisp index d2fbbfb..aa597ce 100644 --- a/src/compiler/compiler-error.lisp +++ b/src/compiler/compiler-error.lisp @@ -100,14 +100,12 @@ (signal-error () (error condition))))) -(declaim (ftype (function (string &rest t) (values)) - compiler-warn compiler-style-warn)) -(defun compiler-warn (format-string &rest format-args) - (apply #'warn format-string format-args) +(defun compiler-warn (datum &rest arguments) + (apply #'warn datum arguments) (values)) -(defun compiler-style-warn (format-string &rest format-args) - (apply #'style-warn format-string format-args) +(defun compiler-style-warn (datum &rest arguments) + (apply #'style-warn datum arguments) (values)) (defun make-compiler-error-form (condition source)