summaryrefslogtreecommitdiff
path: root/module/oop
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2017-09-25 22:37:38 +0200
committerAndy Wingo <wingo@pobox.com>2017-09-25 22:37:38 +0200
commitc3a81128478bed4a65a509d3a3a7074b712e94fd (patch)
tree306ba31c9866995cc6e628588306a2b2ef77b89a /module/oop
parent760662f7f196e3b914588f3e886ff1538682f7e5 (diff)
downloadguile-c3a81128478bed4a65a509d3a3a7074b712e94fd.tar.gz
Fix GOOPS class redefinition type error.
* module/oop/goops.scm (allocate-instance): Fix error introduced in recent merge.
Diffstat (limited to 'module/oop')
-rw-r--r--module/oop/goops.scm2
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