gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] defclass errors


From: Camm Maguire
Subject: [Gcl-devel] defclass errors
Date: 10 Oct 2003 11:07:49 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!  Here are some more tests in which GCL fails idenitcally
with cmucl 18e:

(defclass class-07 () ((s1 :initarg :s1a :initarg :s1b :reader s1)
                       (s2 :initarg :s2 :reader s2)))
; 
#<STANDARD-CLASS CLASS-07 {4805F51D}>
* (LET ((C
                (MAKE-INSTANCE 'CLASS-07 :S1A 'X :S2
                    'Y :ALLOW-OTHER-KEYS NIL)))
        (VALUES (S1 C) (S2 C)))


Invalid initialization argument :ALLOW-OTHER-KEYS for class CLASS-07

Restarts:
  0: [ABORT] Return to Top-Level.

Debug  (type H for help)

("DEFMETHOD MAKE-INSTANCE (CLASS)" #<unused-arg> #<unused-arg>
 #<Standard-Class CLASS-07 {48058645}> (:S1A X :S2 Y :ALLOW-OTHER-KEYS ...))
Source: Error finding source: 
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
  target:pcl/init.lisp.
0] 

Paul, is :allow-other-keys supposed to be allowable at all times even
when not in the class definition?  What then is the point of
&allow-other-keys in the defclass lambda list?

Take care,

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]