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

Bug #1795302 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))
           (: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

Michał Herda (phoe-krk) on 2018-10-01
summary: - slot unbound on conditions with :ALLOCATION :CLASS slot and :DEFAULT-
- INITARGS
+ slot unbound on conditions with :ALLOCATION :CLASS and :DEFAULT-INITARGS
Stas Boukarev (stassats) wrote :

34d83d6f5a1be0a5776d513bab8860d7bc5208c5

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