summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sb-eval2.lisp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sb-eval2.lisp b/sb-eval2.lisp
index aa9735e..b6aa7a9 100644
--- a/sb-eval2.lisp
+++ b/sb-eval2.lisp
@@ -282,6 +282,8 @@
(assume-special context var)
(lambda (env)
(declare (ignore env))
+ (unless (boundp var)
+ (error 'unbound-variable :name var))
(symbol-value var)))))