diff options
author | Andy Wingo <wingo@pobox.com> | 2017-09-25 22:37:38 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2017-09-25 22:37:38 +0200 |
commit | c3a81128478bed4a65a509d3a3a7074b712e94fd (patch) | |
tree | 306ba31c9866995cc6e628588306a2b2ef77b89a | |
parent | 760662f7f196e3b914588f3e886ff1538682f7e5 (diff) | |
download | guile-c3a81128478bed4a65a509d3a3a7074b712e94fd.tar.gz |
Fix GOOPS class redefinition type error.
* module/oop/goops.scm (allocate-instance): Fix error introduced in
recent merge.
-rw-r--r-- | module/oop/goops.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/oop/goops.scm b/module/oop/goops.scm index f77b77aba..bd5cc7522 100644 --- a/module/oop/goops.scm +++ b/module/oop/goops.scm @@ -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 |