Opened 11 years ago

#754 new defect

:type slot option not overridden for for :included slots in defstruct

Reported by: rme Owned by:
Priority: minor Milestone:
Component: ANSI CL Compliance Version: trunk
Keywords: defstruct Cc:


It looks like we don't even try to process overridden :type slot options in defstruct. (See line 195 of defstruct-lds.lisp as of r14258.

(defstruct school-kid
  (age 12 :type (integer 5 18)))

(defstruct (elementary-kid
	     (:include school-kid
		       (age 5 :type (integer 6 10))))

In the definitions for elementary-kid, we still use the type (integer 5 18).

Change History (0)

Note: See TracTickets for help on using tickets.