Clojure

GC Issue 31: Report more incorrect usages of binding vectors

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Reported by chouser, Jan 05, 2009
What (small set of) steps will reproduce the problem?

The (< x y) form of the following expression is silently ignored:
(take 100 (for [x  (range 1000) y (range 1000) (< x y)][x y])) 

What version are you using?

SVN 1195

Was this discussed on the group? If so, please provide a link to the
discussion:

http://groups.google.com/group/clojure/browse_thread/thread/56793fb65903cece

Please provide any additional information below.

The attached patch is identical to the one in the discussion thread.
 binding-assertions.patch
8.1 KB Download
Comment 1 by richhickey, Jan 07, 2009
patch applied - svn 1205 - thanks!
Status: Fixed

People

  • Assignee:
    Unassigned
    Reporter:
    Anonymous
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: