#<unbound> object returned from condition accessor with :ALLOCATION :CLASS slot and :DEFAULT-INITARGS

Bug #1795301 reported by Michał "phoe" Herda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

CL-USER> (define-condition foo ()
           ((%bar :reader bar :initarg :bar :allocation :class)))
FOO
CL-USER> (bar (make-condition 'foo))
#<unbound>

The #<unbound> object shouldn't be returned but an error should be signaled instead.

SBCL 1.4.11 on Linux

Revision history for this message
Stas Boukarev (stassats) wrote :

3424315581fadda1db822166b9871ef7e13d3960

Changed in sbcl:
status: New → Fix Committed
Stas Boukarev (stassats)
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.