Clojure

GC Issue 27: Disallow recur across try

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: Release 1.3
  • Component/s: None
  • Labels:
    None
  • Approval:
    Ok

Description

Reported by richhickey, Jan 01, 2009
Right now will allow:

(loop [x 42]
  (when (pos? x)
    (binding [*out* *out*]
      (recur (dec x)))))

but the recur doesn't (can't) really happen in the scope of the binding

Activity

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: