From 17e82e9d7667ab9acc6392245fc603322300a2e0 Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Sat, 13 Feb 1993 19:10:17 +0000 Subject: [PATCH] milkshake. --- code/defstruct.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/defstruct.lisp b/code/defstruct.lisp index f65870825..9908b756c 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.37.1.6 1993/02/13 13:30:26 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defstruct.lisp,v 1.37.1.7 1993/02/13 19:10:17 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -215,8 +215,8 @@ (let ((res (info type compiler-layout name))) (cond ((not res) (error "Class not yet defined or was undefined: ~S" name)) - ((not (defstruct-description-p (layout-info res))) - (error "Inherited class is not a STRUCTURE-CLASS: ~S" name)) + ((not (typep (layout-class res) 'structure-class)) + (error "Class is not a STRUCTURE-CLASS: ~S" name)) (t res)))) -- GitLab