Bug in SLOT-UNBOUND-INTERNAL

Bug #1686660 reported by Didier Verna on 2017-04-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
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.

Didier Verna (s0-adm-ph) wrote :
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))

Didier Verna (s0-adm-ph) wrote :

Right.

Stas Boukarev (stassats) on 2017-04-27
Changed in sbcl:
status: New → Triaged
assignee: nobody → Stas Boukarev (stassats)
Stas Boukarev (stassats) wrote :

In 6c6f50d05364b084d2642a679cf18b6a1403355b

Changed in sbcl:
assignee: Stas Boukarev (stassats) → nobody
status: Triaged → Fix Committed
Stas Boukarev (stassats) on 2017-06-28
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers