kanaka / clojurescript

Clojure to JS compiler (patched to allow compiling of compiler to ClojureScript)
189 stars 15 forks source link

Fix to namespace handling of try/catch to accept `js` as namespace. #42

Closed wbrown closed 10 years ago

wbrown commented 10 years ago

Corrects issue #41

wbrown commented 10 years ago

Closed -- turns out that I caused a bug with this. Digging into it.

wbrown commented 10 years ago

Fixed the logic issue.

wbrown commented 10 years ago

While it produces output, the compiled output isn't quite correct, as it isn't referencing to the Javascript namespace correctly. Sorry about the yoyo here.

Compiled output:

}catch (js.Object){var statearr_4209_4222 = state_4190;