[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ELP bug with CL's labels
From: |
Oliver Scholz |
Subject: |
ELP bug with CL's labels |
Date: |
Thu, 08 Mar 2007 19:49:57 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
(require 'cl)
(defun my-fact (n)
(labels ((fact-iter (n r)
(if (zerop n)
r
(fact-iter (1- n) (* n r)))))
(fact-iter n 1)))
Now edebug `my-fact' (M-C-x) and call it with any argument. Edebug
will step through the function; but as soon as it would have to step
through `fact-iters' function body, an error is raised:
Wrong type argument: symbolp, (lambda (&rest --cl-rest--) (apply (lambda
(G70234 n r) (edebug-enter [...]
I haven't checked whether this happens with other macros from cl.el,
too.
Oliver
--
Oliver Scholz 18 Ventôse an 215 de la Révolution
Ostendstr. 61 Liberté, Egalité, Fraternité!
60314 Frankfurt a. M.
- ELP bug with CL's labels,
Oliver Scholz <=