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

Please replace :use with :refer #63

Open
vemv opened this issue Jul 5, 2020 · 2 comments
Open

Please replace :use with :refer #63

vemv opened this issue Jul 5, 2020 · 2 comments

Comments

@vemv
Copy link

vemv commented Jul 5, 2020

Hi,

having Clostache in the dependecy chain causes the following warning to be printed:

WARNING: seqable? already refers to: #'clojure.core/seqable? in namespace: clostache.parser, being replaced by: #'clojure.core.incubator/seqable?

It can be fixed by simply replacing :use with :require - particularly when :use was already using its most conservative variant (:only).

As a further hint, there's https://github.com/bbatsov/clojure-style-guide/tree/e3be6b321447939371f2318e620a281ef4367a58#prefer-require-over-use

Thanks!

-V

@vemv
Copy link
Author

vemv commented Jul 5, 2020

(Note that I can't submit a PR currently ⚖️)

@rajkrish
Copy link

rajkrish commented Mar 6, 2024

I am still seeing this problem in 2024. Please fix this open issue.
Thank you.

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