From 2b80426ef48483ff6a4b238ec4dbc632d9be9e52 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Thu, 24 Oct 1991 21:05:00 +0000
Subject: [PATCH] Fixed TYPEP SATISFIES to always return T-or-NIL, regardless
 of what the predicate returns.

---
 compiler/typetran.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/typetran.lisp b/compiler/typetran.lisp
index 1e22db5fb..7fe7c7ea8 100644
--- a/compiler/typetran.lisp
+++ b/compiler/typetran.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/typetran.lisp,v 1.11 1991/05/23 17:55:06 ram Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/typetran.lisp,v 1.12 1991/10/24 21:05:00 ram Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -238,7 +238,7 @@
 	   `(%typep ,object ',spec))
 	  (t
 	   (ecase (first spec)
-	     (satisfies `(funcall #',(second spec) ,object))
+	     (satisfies `(if (funcall #',(second spec) ,object) t nil))
 	     ((not and)
 	      (once-only ((n-obj object))
 		`(,(first spec) ,@(mapcar #'(lambda (x) 
-- 
GitLab