Bug in SLOT-UNBOUND-INTERNAL

Bug #1686660 reported by Didier Verna
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

Hi !

It seems to me that there's a long-standing bug in SLOT-UNBOUND-INTERNAL, probably introduced by:

commit 96aa790ea1d70810e862665c3c8be4ce405a964c
Author: Nikodemus Siivola <email address hidden>
Date: Tue Sep 20 15:39:18 2011 +0300

SLOT-UNBOUND-INTERNAL calls CLASS-SLOTS on an instance instead of on its class. Attached is a patch that fixes it.

Revision history for this message
Didier Verna (s0-adm-ph) wrote :
Revision history for this message
Stas Boukarev (stassats) wrote :

The right fix would be (member position slots :key #'slot-definition-location), or rather, replace the whole thing with just
(slot-definition-name
 (find position (layout-slot-list (layout-of instance))
       :key #'slot-definition-location))

Revision history for this message
Didier Verna (s0-adm-ph) wrote :

Right.

Stas Boukarev (stassats)
Changed in sbcl:
status: New → Triaged
assignee: nobody → Stas Boukarev (stassats)
Revision history for this message
Stas Boukarev (stassats) wrote :

In 6c6f50d05364b084d2642a679cf18b6a1403355b

Changed in sbcl:
assignee: Stas Boukarev (stassats) → nobody
status: Triaged → 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.