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

ns-publics contains refer when using :refer-clojure #520

Closed
borkdude opened this issue Feb 2, 2021 · 0 comments
Closed

ns-publics contains refer when using :refer-clojure #520

borkdude opened this issue Feb 2, 2021 · 0 comments

Comments

@borkdude
Copy link
Collaborator

borkdude commented Feb 2, 2021

This trips up https://github.com/seancorfield/honeysql/blob/4cbeb170ddf4ba0d7238c43b092ffb0a33062474/src/honey/sql/helpers.cljc#L93

More specifically:

Clojure 1.10.1
user=> (use 'clojure.set)
nil
user=> (ns-publics *ns*)
{}

In bb you will get all the vars as ns-publics in the "using" ns:

user=> (use 'clojure.set)
nil
user=> (ns-publics *ns*)
...
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

1 participant