X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fdefstruct.impure.lisp;h=93cd7b9547e7b5890585d778cb2e7b1136582456;hb=d052cf55544eb8c251146457d9245e8610e0a8f2;hp=9a0a99db3dacbaf2e03a414a0a431c3de778cf7f;hpb=175c318c892b0627b36fa3c4db66f59680242204;p=sbcl.git diff --git a/tests/defstruct.impure.lisp b/tests/defstruct.impure.lisp index 9a0a99d..93cd7b9 100644 --- a/tests/defstruct.impure.lisp +++ b/tests/defstruct.impure.lisp @@ -216,6 +216,8 @@ ;;; debugger is having a bad day (defvar *instance*) +(declaim (optimize (debug 2))) + (defmacro test-variant (defstructname &key colontype boa-constructor-p) `(progn @@ -644,8 +646,8 @@ (catch :ok (handler-bind ((error (lambda (c) ;; Used to cause stack-exhaustion - (unless (typep c 'storege-condition) - (throw :ok))))) + (unless (typep c 'storage-condition) + (throw :ok t))))) (eval '(progn (defstruct foo a) (setf (find-class 'foo) nil)