From c5e8b3e69c327ac2e47ccdfe565c6809839cea4c Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Sat, 5 Mar 1994 14:35:57 +0000
Subject: [PATCH] Changed assert-definition-type to quietly ignore non
 function-types.

---
 compiler/ctype.lisp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/compiler/ctype.lisp b/compiler/ctype.lisp
index 716863584..efa009037 100644
--- a/compiler/ctype.lisp
+++ b/compiler/ctype.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/ctype.lisp,v 1.29 1994/03/05 14:32:51 ram Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ctype.lisp,v 1.30 1994/03/05 14:35:57 ram Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -745,9 +745,10 @@
 		   ((:error-function *error-function*) #'compiler-warning)
 		   warning-function
 		   (where "previous declaration"))
-  (declare (type functional functional) (type function-type type)
+  (declare (type functional functional)
 	   (type function *error-function*)
 	   (string where))
+  (unless (function-type-p type) (return t))
   (let ((*lossage-detected* nil))
     (multiple-value-bind
 	(vars types)
-- 
GitLab