Re: Bug in try/finally?

2010-08-11 Thread Brian Stiles
You guys are awesome! Less than 24 hour turnaround. On Aug 10, 1:09 pm, Chouser wrote: > On Tue, Aug 10, 2010 at 2:51 PM, Chouser wrote: > > > That patch seems to essentially reverse this one: > > >http://github.com/clojure/clojure/commit/5e9f2b293b307aa7953cd390360d... > > > ...which suggests

Bug in try/finally?

2010-08-10 Thread Brian Stiles
The following succeeds: (try (prn 1) (finally (prn 2) (doto (System/out) (.print "-") (.println "-" prints: 1 2 -- The following fails (note the odd duplication of "2" in the output): (try (prn 1) (finally (prn 2) (.. (System/out) (print "-") (println "-" prints: