mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-18 23:32:17 -08:00
ENSURE-UP-TO-DATE-INSTANCE is unsafe.
This commit is contained in:
parent
9db8116248
commit
d35e40d525
1 changed files with 4 additions and 3 deletions
|
|
@ -104,9 +104,10 @@
|
|||
`(let* ((i ,instance)
|
||||
(s (si::instance-sig i)))
|
||||
(declare (:read-only i s))
|
||||
(when (si:sl-boundp s)
|
||||
(unless (eq s (class-slots (si::instance-class i)))
|
||||
(update-instance i))))))
|
||||
(with-early-accessors (+standard-class-slots+)
|
||||
(when (si:sl-boundp s)
|
||||
(unless (eq s (class-slots (si::instance-class i)))
|
||||
(update-instance i)))))))
|
||||
|
||||
;;;
|
||||
;;; STANDARD-CLASS INTERFACE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue