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

Bug #1795301 reported by Michał Herda on 2018-10-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
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

Stas Boukarev (stassats) wrote :

3424315581fadda1db822166b9871ef7e13d3960

Changed in sbcl:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers