forked from clojure/clojurescript
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I am trying to get core.async built with the compiler in the cljsc-in-cljsc tree. It looks like it takes exception to the js namespace for catch.
https://github.com/clojure/core.async/blob/master/src/main/clojure/cljs/core/async.cljs#L700
(catch js/Object e
(swap! dctr dec))))
The output given is:
Exception in thread "main" java.lang.AssertionError: Assert failed: Can't qualify symbol in catch
(not (namespace name))
at cljs.analyzer$eval124$fn__126.invoke(analyzer.clj:284)
at clojure.lang.MultiFn.invoke(MultiFn.java:241)
at cljs.analyzer$analyze_seq.invoke(analyzer.clj:898)
at cljs.analyzer$analyze.invoke(analyzer.clj:953)
at cljs.analyzer$analyze_seq.invoke(analyzer.clj:900)
Looking at the analyzer.js code, it looks like we have a few special exceptions for namespace references to js -- I will see if I can get this to understand that it can ignore a namespace of 'js', but hints would be appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels