1.0.3.9: Allow characters as string designators for SHADOW
authorJuho Snellman <jsnell@iki.fi>
Fri, 2 Mar 2007 02:02:01 +0000 (02:02 +0000)
committerJuho Snellman <jsnell@iki.fi>
Fri, 2 Mar 2007 02:02:01 +0000 (02:02 +0000)
         * Patch by Eric Marsden

NEWS
src/compiler/fndb.lisp
tests/packages.impure.lisp
version.lisp-expr

diff --git a/NEWS b/NEWS
index 1e3b512..4b9ed18 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,8 @@ changes in sbcl-1.0.4 relative to sbcl-1.0.3:
   * bug fix: type-checks for function arguments were compiled using the
     compiler policy settings of the wrong lexical environment (in 1.0.2
     and 1.0.3).
+  * bug fix: SHADOW accepts characters as string designators, as required
+    by the spec (thanks to Eric Marsden)
 
 changes in sbcl-1.0.3 relative to sbcl-1.0.2:
   * new platform: NetBSD/PPC.  (thanks to Aymeric Vincent)
index a902977..249ff05 100644 (file)
 (defknown unexport (symbols-designator &optional package-designator) (eql t))
 (defknown shadowing-import (symbols-designator &optional package-designator)
   (eql t))
-(defknown shadow ((or symbol string list) &optional package-designator)
+(defknown shadow ((or symbol character string list) &optional package-designator)
   (eql t))
 (defknown (use-package unuse-package)
   ((or list package-designator) &optional package-designator) (eql t))
index ddfdf18..a392aec 100644 (file)
@@ -22,3 +22,5 @@
   (package-error (c) (princ c))
   (:no-error (&rest args) (error "(EXPORT :FOO) returned ~S" args)))
 
+(make-package "FOO")
+(assert (shadow #\a :foo))
index 7b1062c..e48f52e 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.3.8"
+"1.0.3.9"