Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble compiling when requiring bond in cljs test ns #48

Closed
akombo opened this issue May 16, 2019 · 1 comment
Closed

Trouble compiling when requiring bond in cljs test ns #48

akombo opened this issue May 16, 2019 · 1 comment

Comments

@akombo
Copy link

akombo commented May 16, 2019

When requiring and compiling I receive the following exception:
...
Caused by: clojure.lang.ExceptionInfo: Assert failed: Argument to ns-publics must be a quoted symbol
(core/and (seq? quoted-ns) (= (first quoted-ns) (quote quote)) (core/symbol? (second quoted-ns))) at line 34 target/out/bond/james.cljc {:file "target/out/bond/james.cljc", :line 34, :column 8, :tag :cljs/analysis-error}
...

Building a local version of bond with a change to line 34 in ns->fn-symbols fixes the problem:
Change (ns-publics ns) to (ns-publics (quote ns)).

I'm relatively new to cljs so am not sure if something else, like project.clj config, is my actual problem. Also, I'm guessing the changed line would need to check for the existence of a quote before quoting if this were to prevent creating new problems.

Thanks

@neeasade
Copy link
Contributor

neeasade commented Apr 29, 2021

Closing due to dropped support for cljs -- see #53 for details (tl;dr cljs needs runtime calls for ns-publics now, and ns->fn-symbols where ns-publics is used is a macro)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants