From e2ac9f9f19f7b5e3a057a71788fbe8cd1401a018 Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Wed, 9 Dec 1992 00:10:25 +0000 Subject: [PATCH] In FINALIZE-XEP-DEFINITION, if not the current global definition, just leave the defined type alone, instead of clobbering it with FUNCTION. A benefit of this is that COMPILE doesn't trash the function type. --- compiler/ir1final.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/ir1final.lisp b/compiler/ir1final.lisp index 0bf42213a..93a5d1d3f 100644 --- a/compiler/ir1final.lisp +++ b/compiler/ir1final.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1final.lisp,v 1.16 1992/09/24 18:32:47 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1final.lisp,v 1.17 1992/12/09 00:10:25 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -87,8 +87,8 @@ (setf (info function where-from name) :defined)) (:declared); Just keep declared type. (:defined - (setf (info function type name) - (if global-p dtype (specifier-type 'function)))))))) + (when global-p + (setf (info function type name) dtype))))))) (undefined-value)) -- GitLab