Looks like its already done:
https://www.assembla.com/spaces/clojure/tickets/103-gc-issue-99--incorrect-error-with-if-let
On 20 October 2010 22:20, David Jagoe wrote:
> Hi all,
>
> I noticed today (clojure 1.2) that using if-let incorrectly thusly:
>
> (if-let [a 1]
> (println "1")
> (println
Hi all,
I noticed today (clojure 1.2) that using if-let incorrectly thusly:
(if-let [a 1]
(println "1")
(println "2")
(println "3"))
Instead of e.g.
(if-let [a 1]
(println "1")
(do
(println "2")
(println "3")))
Results in this error
if-let requires a vector for its binding