DEFINE-CONDITION and constant :DEFAULT-INITARGS

Bug #539517 reported by Nikodemus Siivola
6
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"!

Tags: ansi
Revision history for this message
Jan Moringen (scymtym) wrote :
Changed in sbcl:
status: Confirmed → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.