PROGV doesn't rebind unbound vars with DEBUG 3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Without (sb-ext:
below works as expected and doesn't signal an error.
This is SBCL 1.2.6, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (sb-ext:
((DEBUG . 3))
* (defvar *v*)
*V*
* (let ((*v* t)) (print *v*) (progv '(*v*) '() (print (boundp '*v*))) (print *v*))
T
NIL
debugger invoked on a UNBOUND-VARIABLE in thread
#<THREAD "main thread" RUNNING {1003E06533}>:
The variable *V* is unbound.
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-
0: [ABORT] Exit debugger, returning to top level.
((LAMBDA ()))
source: '*V*
0]
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
(sb-ext: restrict- compiler- policy 'debug 2) doesn't exhibit this problem.