From 5652206b2aeb9dfe4c00b78557bcde5f5d573a71 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Sun, 22 Aug 1993 22:21:00 +0000 Subject: [PATCH] Fill in the direct-superclasses field. --- code/defstruct.lisp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/defstruct.lisp b/code/defstruct.lisp index 8b0fc4263..fbb13250f 100644 --- a/code/defstruct.lisp +++ b/code/defstruct.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defstruct.lisp,v 1.52 1993/08/03 16:29:01 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defstruct.lisp,v 1.53 1993/08/22 22:21:00 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1163,6 +1163,8 @@ #'(lambda (x) (typep x 'structure-class)) #'(lambda (x) (typep x (find-class class)))) (fdefinition constructor))) + (setf (class-direct-superclasses class) + (list (layout-class (svref inherits (1- (length inherits)))))) (let ((new-layout (make-layout :class class :inherits inherits :inheritance-depth (length inherits) -- GitLab