From 6f8f17af2296e31edc96b49fd4cc88aac8fb38dd Mon Sep 17 00:00:00 2001
From: pmai <pmai>
Date: Sun, 29 Dec 2002 23:35:06 +0000
Subject: [PATCH] Entomotomy Bug: adjust-array-initial-contents-type-wrong

The :initial-contents argument to adjust-array isn't restricted to be a list,
as the defknown entry erroneously claims.  This fix requires an L2 rebuild
(or loading of the changed defknown prior to rebuilding), in order for the
information to propagate properly.
---
 compiler/fndb.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/fndb.lisp b/compiler/fndb.lisp
index 74c2fef0d..9848e89d7 100644
--- a/compiler/fndb.lisp
+++ b/compiler/fndb.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/fndb.lisp,v 1.99 2002/11/13 19:47:19 toy Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/fndb.lisp,v 1.100 2002/12/29 23:35:06 pmai Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -730,7 +730,7 @@
 
 (defknown adjust-array
   (array (or index list) &key (:element-type type-specifier)
-	 (:initial-element t) (:initial-contents list)
+	 (:initial-element t) (:initial-contents t)
 	 (:fill-pointer t) (:displaced-to (or array null))
 	 (:displaced-index-offset index))
   array (unsafe))
-- 
GitLab