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

In CLJS clojure.test is a synonym for cljs.test #632

Open
borkdude opened this issue Nov 17, 2021 · 0 comments
Open

In CLJS clojure.test is a synonym for cljs.test #632

borkdude opened this issue Nov 17, 2021 · 0 comments
Labels

Comments

@borkdude
Copy link
Collaborator

borkdude commented Nov 17, 2021

See https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/analyzer.cljc#L1223 and https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/analyzer.cljc#L2959.

What should probably be done:

Try the clojure.* namespace as is. When not found, fall back on cljs.*.
Then we can add cljs.test in nbb and it should work as required with clojure.test.

In the case of clojure.edn: that is a REAL namespace so it should not be treated as a synonym for cljs.reader.

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

No branches or pull requests

1 participant