philoskim / debux

A trace-based debugging library for Clojure and ClojureScript.
468 stars 19 forks source link

fix multiple bindings in for/doseq :let #20

Closed lucywang000 closed 3 years ago

lucywang000 commented 3 years ago

With latest version of debux, compiling this form would result in error use undeclared var "z"

#d/clogn (doseq [x [1 2 3]
                 :let [y (inc x)
                       z (inc y)]
                 ]
           (when (> z x)
             (println [x y z])))
philoskim commented 3 years ago

The fixed version has just been released. Thank you very much for the pull request on this bug!