slot unbound on conditions with :ALLOCATION :CLASS and :DEFAULT-INITARGS

Bug #1795302 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))
           (:default-initargs :bar 42))
FOO
CL-USER> (describe (make-condition 'foo))
#<FOO {100D69FCF3}>
  [condition]

Slots with :CLASS allocation:
  %BAR = #<unbound>

The slot is unbound - it should be bound to 42.

SBCL 1.4.11 on Linux

summary: - slot unbound on conditions with :ALLOCATION :CLASS slot and :DEFAULT-
- INITARGS
+ slot unbound on conditions with :ALLOCATION :CLASS and :DEFAULT-INITARGS
Revision history for this message
Stas Boukarev (stassats) wrote :

34d83d6f5a1be0a5776d513bab8860d7bc5208c5

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.