[slime-devel] Re: SLIME buglet: The value NIL is not of type	PACKAGE.
    Christophe Rhodes 
    csr21 at cam.ac.uk
       
    Thu Jan 22 08:33:27 UTC 2004
    
    
  
Helmut Eller <e9626484 at stud3.tuwien.ac.at> writes:
>> re 2: Attached is another patch (swank-completions.patch), making
>> SWANK:COMPLETIONS handle non-existent packages without bombing.
>> While I was there I removed the unneeded LET*.
>
> The problem occurred only in SBCL, because (let ((*package* nil))) is a
> type error in SBCL. 
Heh.  It's only a type error in sbcl, but it's undefined behaviour
everywhere.  The consequences are undefined if *package* is bound or
set to anything that isn't a package object (see the Value Type
section of the CLHS page for *PACKAGE*, and also section 1.4.4.22).
Cheers,
Christophe
-- 
http://www-jcsu.jesus.cam.ac.uk/~csr21/       +44 1223 510 299/+44 7729 383 757
(set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b)))
(defvar b "~&Just another Lisp hacker~%")    (pprint #36rJesusCollegeCambridge)
    
    
More information about the slime-devel
mailing list