replete-repl / replete-ios

ClojureScript REPL iOS app
Eclipse Public License 1.0
396 stars 25 forks source link

for crashes #53

Closed ulsa closed 9 years ago

ulsa commented 9 years ago

(for [x 1 y 2] y) crashes with "Can't recur here"

mfikes commented 9 years ago

http://dev.clojure.org/jira/browse/CLJS-1334

asheldo commented 9 years ago

I attached to CLJS-1334 a clojurescript patch for the issue with the for macro.

mfikes commented 9 years ago

@asheldo I tested it with cljs-bootstrap and see it is resolved there. I couldn't confirm it being fixed with Replete (still getting the recur error).

asheldo commented 9 years ago

@mfikes I need to update Xcode etc in order to try this with Replete/simulator.

asheldo commented 9 years ago

I did better testing this time, still not with replete, just with cljs-bootstrap. Patch v2 is uploaded -- fix is to the when-first reference in the core.cljc for defmacro.

mfikes commented 9 years ago

@asheldo Your latest patch works for me.

mfikes commented 9 years ago

Fixed for (for [x [1] y [2]] y)