mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Fix GOOPS class redefinition type error.
* module/oop/goops.scm (allocate-instance): Fix error introduced in recent merge.
This commit is contained in:
parent
760662f7f1
commit
c3a8112847
1 changed files with 1 additions and 1 deletions
|
@ -3116,7 +3116,7 @@ var{initargs}."
|
|||
(nfields (struct-ref/unboxed class class-index-nfields))
|
||||
(indirect-slots-class (slot-ref class 'indirect-slots-class)))
|
||||
;; Indirect slots will be last struct field.
|
||||
(struct-set!/unboxed instance (1- nfields) (make indirect-slots-class))
|
||||
(struct-set! instance (1- nfields) (make indirect-slots-class))
|
||||
instance))
|
||||
|
||||
;; Called when redefining an existing binding, and the new binding is a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue