#209 dotimes error when compiled with a result form

HEAD
closed
nobody
None
1
2014-09-23
2012-10-01
Anonymous
No
(funcall (compile nil '(lambda ()
                        (dotimes (i 4 i)
                          (print i)))))

;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;;
;;; Style warning:
;;; ! Variable I was undefined. Compiler assumes it is a global.
;;; End of Pass 1.
0
1
2
3
I
Condition of type: UNBOUND-VARIABLE
The variable I is unbound.

ECL (Embeddable Common-Lisp) 12.7.1 (git:42f0b2eaa560fc2043a0c9119d645e4f46e0bd23)

Discussion


  • Anonymous
    2012-10-27

    Thanks for the report and my apologies for the delay in this fix. I have uploaded a patch to the CVS and git repositories. It will be available tonight.

     


Anonymous


Cancel   Add attachments