From 0519cdf6f16d8926567a9129ce6c87309f255d88 Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Thu, 1 Apr 2004 17:06:27 +0000
Subject: [PATCH] From Helmut Eller:

parse-compiled-debug-function-lambda-list fails for

  (di::debug-function-lambda-list
    (di::function-debug-function
      #'pcl::fix-early-generic-functions))

because it tries to nconc the supplied-p var to a deleted keyword arg.
---
 code/debug-int.lisp | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/code/debug-int.lisp b/code/debug-int.lisp
index 7d5f57ca4..86f287a51 100644
--- a/code/debug-int.lisp
+++ b/code/debug-int.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/code/debug-int.lisp,v 1.107 2003/11/25 04:40:50 toy Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/debug-int.lisp,v 1.108 2004/04/01 17:06:27 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -2139,9 +2139,11 @@
 		 ;; supplied-p var immediately following keyword or optional.
 		 ;; Stick the extra var in the result element representing
 		 ;; the keyword or optional, which is the previous one.
-		 (nconc (car res)
-			(list (compiled-debug-function-lambda-list-var
-			       args (incf i) vars))))
+		 (cond ((eq (car res) :deleted)) ; no nothing 
+		       (t
+			(let ((var (compiled-debug-function-lambda-list-var
+				    args (incf i) vars)))
+			  (setf (car res) (append (car res) (list var)))))))
 		(c::rest-arg
 		 (push (list :rest
 			     (compiled-debug-function-lambda-list-var
-- 
GitLab