Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#245 closed defect (fixed)

Slots of a class with a custom meta-class are reported as unbound.

Reported by: stassats Owned by: rschlatte
Priority: major Milestone: 1.1.0
Component: (A)MOP Version:
Keywords: Cc:
Parent Tickets:


(defpackage test2
  (:use :cl :mop))

(in-package test2)

(defclass storable-class (standard-class)

(defmethod validate-superclass
    ((class standard-class) (superclass storable-class))

(defmethod validate-superclass
    ((class storable-class) (superclass standard-class))


(defclass identifiable ()
  ((id :accessor id
       :initform 1))
  (:metaclass storable-class))

ID slot is unbound and bound at the same time, despite having an

(describe (make-instance 'identifiable))
#<IDENTIFIABLE {181F4B24}> is an instance of #<STORABLE-CLASS IDENTIFIABLE {1E4B2D10}>.
The following slots have :INSTANCE allocation:

ID unbound

(slot-boundp (make-instance 'identifiable) 'id)

(slot-value (make-instance 'identifiable) 'id)

Change History (3)

comment:1 Changed 12 years ago by ehuelsmann

Milestone: 1.1.0
Owner: changed from ehuelsmann to rschlatte
Status: newassigned

comment:2 Changed 12 years ago by stassats

Resolution: fixed
Status: assignedclosed

Apparently, this has been fixed in ticket:14154

comment:3 Changed 12 years ago by stassats

Meaning changeset:14154

Note: See TracTickets for help on using tickets.