updates of defclass when underlying deftype changed
Bug #997239 reported by
Martin Cracauer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
"1.0.56.
(deftype color-name () '(member :red :green :blue))
(defclass color () ((color :type color-name :initarg :color)))
(make-instance 'color :color :white)
==> error as expected.
However, redefining color-name doesn't lead to an update of color.
;; put this into a Lisp that previous executed the above lines
(deftype color-name () '(member :red :green :blue :white))
(defclass color () ((color :type color-name :initarg :color)))
(make-instance 'color :color :white)
==> still an error but shouldn't.
Credit for reporting goes to swm.
To post a comment you must log in.
subject typo
s/updates of defclass when underlying deftype failed/updates of defclass when underlying deftype changed/