LOOP misplaces ignore declartion

Bug #700538 reported by Stas Boukarev on 2011-01-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

(macroexpand-1 '(loop with (a) = '(1.0) and (f) return (list a f))) =>

  (LET ((#:LOOP-DESTRUCTURE-1507 '(1.0)) (F NIL) (#:LOOP-IGNORE-1508 NIL))
                                      (DECLARE (IGNORE #:LOOP-IGNORE-1508))
                                      (SB-LOOP::LOOP-BODY NIL NIL
                                                          ((RETURN-FROM NIL
                                                             (LIST A F)))
                                                          NIL NIL))))

This bug causes style-warnings about the LOOP internal variables.

Changed in sbcl:
status: New → Confirmed
tags: added: loop
Changed in sbcl:
importance: Undecided → Low
status: Confirmed → Triaged
Stas Boukarev (stassats) wrote :

In 367adb7bde24537076d232cf5c5e56ec0eb8d465.

Changed in sbcl:
status: Triaged → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers