(DEFCLASS FOO () ((A :SILLY T)))
signals a SIMPLE-ERROR, not a PROGRAM-ERROR.
+172:
+ sbcl's treatment of at least macro lambda lists is too permissive;
+ e.g., in sbcl-0.7.3.7:
+ (defmacro foo (&rest rest bar) `(,bar ,rest))
+ (macroexpand '(foo quux zot)) -> (QUUX (QUUX ZOT))
+ whereas section 3.4.4 of the CLHS doesn't allow required parameters
+ to come after the rest argument.
+
DEFUNCT CATEGORIES OF BUGS
IR1-#:
These labels were used for bugs related to the old IR1 interpreter.
<screen>in: DEFUN FOO
(DO ((CURRENT L #) (# NIL)) (WHEN (EQ # E) (RETURN CURRENT)) )
-caught ERROR: (during macroexpansion)
-
-error in function LISP::FROB-DO-BODY:
- DO step variable is not a symbol: (ATOM CURRENT)</screen>
+caught ERROR:
+ (in macroexpansion of (DO # #))
+ (hint: For more precise location, try *BREAK-ON-SIGNALS*.)
+ DO step variable is not a symbol: (ATOM CURRENT)</screen>
</para>
</sect2>
<itemizedlist>
<listitem><para>The &CMUCL; manual doesn't seem to state it explicitly,
but &Python; has a mental block about type inference when
- assignment is. involved &Python; is very aggressive and clever
+ assignment is involved. &Python; is very aggressive and clever
about inferring the types of values bound with <function>let</>,
<function>let*</>, inline function call, and so forth. However,
it's much more passive and dumb about inferring the types of
;;; confident in my understanding, I might try to do drastic surgery,
;;; but my head is currently spinning (host? target? both?) so I'll go
;;; for the minimal changeset... -- CSR, 2002-05-11
-(defmacro def!constant (&rest rest name value &optional doc)
+(defmacro def!constant (&whole whole name value &optional doc)
`(progn
#-sb-xc-host
- (defconstant ,@rest)
+ (defconstant ,@(cdr whole))
#+sb-xc-host
,(unless (eql (find-symbol (symbol-name name) :cl) name)
- `(defconstant ,@rest))
+ `(defconstant ,@(cdr whole)))
#+sb-xc-host
- ,(let ((form `(sb!xc:defconstant ,@rest)))
+ ,(let ((form `(sb!xc:defconstant ,@(cdr whole))))
(if (boundp '*delayed-def!constants*)
`(push ',form *delayed-def!constants*)
form))))
;; haven't tried to understand the
;; performance issues involved. --
;; WHN, and also CSR 2002-05-26
- (simple-array index (or index null))
+ ((or vector simple-array) index (or index null))
*
:important t
:node node
;;; for internal versions, especially for internal versions off the
;;; main CVS branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.7.4.7"
+"0.7.4.8"