DEFINE-CONDITION and constant :DEFAULT-INITARGS
Bug #539517 reported by
Nikodemus Siivola
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Medium
|
Unassigned |
Bug Description
CL-USER> (defconstant +foo+ (lambda () (error "oops")))
+FOO+
CL-USER> (define-condition test () ((xxx :initarg :xxx)) (:default-initargs :xxx +foo+))
TEST
CL-USER> (progn (make-condition 'test) t)
...gives the error "oops"!
Changed in sbcl: | |
status: | Confirmed → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed by patch attached to https:/ /bugs.launchpad .net/sbcl/ +bug/1164969.