summaryrefslogtreecommitdiff
path: root/sb-eval2.lisp
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2013-07-19 01:40:46 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2013-07-19 01:40:46 +0200
commit11522cc08df31d492c307ae207e7c9ee0f62d8c0 (patch)
tree991ca40e99a6a7c9ea811c3f2dc7048f6ea590a6 /sb-eval2.lisp
parent9555b086f94fb9c7ef53bdb8f386c9ac54c092d9 (diff)
MAYBE-CLOSES-OVER-P: Be tolerant towards errors raised by SB-WALKER.
Diffstat (limited to 'sb-eval2.lisp')
-rw-r--r--sb-eval2.lisp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sb-eval2.lisp b/sb-eval2.lisp
index 06fbbcf..f2ff15b 100644
--- a/sb-eval2.lisp
+++ b/sb-eval2.lisp
@@ -77,7 +77,9 @@
nil)
(defun maybe-closes-over-p (context form vars)
- (maybe-closes-over-p/env form vars (context->native-environment context)))
+ (handler-case
+ (maybe-closes-over-p/env form vars (context->native-environment context))
+ (serious-condition () t)))
(defun maybe-closes-over-p/env (form vars env)
;; Use `(function ,name) for local functions.