Nil clone == Nil

Nicolas et Ryoko nicolas.pelletier3 at wanadoo.fr
Mon Sep 15 10:21:47 PDT 2003


Hello,

with the  latest cvs, Nil  clone == Nil  returns False (True  clone ==
True and False clone == False  also do the same). The clone method for
Oddball in prims.lisp had a  typo. Reading a little further, the clone
method for Namespace  shows the same problem. The  attached file fixes
this.

-- 
Nicolas

-------------- next part --------------
Index: prims.lisp
===================================================================
RCS file: /var/lib/cvs/slate/slate/prims.lisp,v
retrieving revision 1.28
diff -u -r1.28 prims.lisp
--- prims.lisp	27 Aug 2003 20:54:37 -0000	1.28
+++ prims.lisp	15 Sep 2003 17:13:20 -0000
@@ -321,12 +321,12 @@
 (define-method "flush" ((stream *console-output*))
   (finish-output stream))
 
-(define-method clone ((oddball *primitive-oddball*))
+(define-method clone ((oddball *traits-oddball*))
   (if (eq oddball *primitive-oddball*)
       (clone-object *primitive-oddball*)
       oddball))
 
-(define-method clone ((namespace *primitive-namespace*))
+(define-method clone ((namespace *traits-namespace*))
   (if (eq namespace *primitive-namespace*)
       (clone-object *primitive-namespace*)
       namespace))


More information about the Slate mailing list