[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with type declarations in PCL.
- To: ebg%atr-hr.atr.co.jp%kddlab.uucp@uunet.UU.NET
- Subject: Re: Problem with type declarations in PCL.
- From: Gregor Kiczales <gregor@parc.xerox.com>
- Date: Sat, 15 Sep 1990 17:35:32 PDT
- Cc: jonl@lucid.COM, CommonLoops.PARC@xerox.com
- Fake-sender: gregor@parc.xerox.com
- In-reply-to: "Edward B. Gamble's message of Sat, 15 Sep 1990 05:59:00 PDT <9009150359.AA02385@atr-hr.atr.co.jp>"
- Sender: <gregor%xerox.COM%spade.parc.xerox.com@parc.xerox.com>
Date: Sat, 15 Sep 1990 05:59:00 PDT
From: ebg%atr-hr.atr.co.jp%kddlab.uucp@uunet.UU.NET (Edward B. Gamble)
It seems that at compile time PCL classes do not have a known type. CLX
uses lots of forms like this:
(defclass foo () ())
(defun bar (a-foo)
(declare (type foo a-foo))
)
;;; Warning: Illegal type specifier in (TYPE FOO A-FOO)
>>Error: FOO is an unknown type.
Put the following somewhere in your stuff, or edit the definition of
this variable that appears in defs.lisp:
(push 'compile pcl::*defclass-times*)