The auxiliary function ASSERT-FAILURE was missing a variable definition.

This commit is contained in:
Juan Jose Garcia Ripoll 2010-05-27 23:48:14 +02:00
parent 747fddfecf
commit 164605aa72

View file

@ -745,7 +745,7 @@ memory limits before executing the program again."))))
value))
(defun assert-failure (test-form &optional place-names values
&rest condition-arguments)
&rest arguments)
(unless arguments
(setf arguments (list 'SIMPLE-TYPE-ERROR
:DATUM test-form
@ -753,9 +753,9 @@ memory limits before executing the program again."))))
:FORMAT-CONTROL "The assertion ~S failed"
:FORMAT-ARGUMENTS (list test-form))))
(restart-case (error (si::coerce-to-condition (first arguments)
(rest arguments)
'simple-error
'assert))
(rest arguments)
'simple-error
'assert))
(continue ()
:REPORT (lambda (stream) (assert-report place-names stream))
(return-from assert-failure