X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Feval.impure.lisp;h=c79066a816c02e4e527dae3c64dbc031d84d56ee;hb=1f03c7f326823245708a84af86b31ac72bdb1742;hp=2e6d502990b1c4b5b8eceb4ba721c7be4f1ab12f;hpb=b3fc19fd2ee925f1a16e301012094b58c2cfd68a;p=sbcl.git diff --git a/tests/eval.impure.lisp b/tests/eval.impure.lisp index 2e6d502..c79066a 100644 --- a/tests/eval.impure.lisp +++ b/tests/eval.impure.lisp @@ -237,4 +237,16 @@ (declare (optimize speed)) (+ x y))))))) +(with-test (:name :bug-238) + (let ((sb-ext:*evaluator-mode* :compile)) + (handler-bind ((sb-ext:compiler-note #'error)) + (eval '(defclass bug-238 () ())) + (eval '(defmethod bug-238 ((x bug-238) (bug-238 bug-238)) + (call-next-method))) + (eval '(handler-case + (with-input-from-string (*query-io* " no") + (yes-or-no-p)) + (simple-type-error () 'error))) + t))) + ;;; success