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

clean-ns: false positives for functions called exclusively inside metadata #240

Closed
vemv opened this issue Feb 5, 2019 · 1 comment
Closed

Comments

@vemv
Copy link
Member

vemv commented Feb 5, 2019

Similar to #239. Here what gets wiped is function calls contained inside metadata:

(ns f.oo
  (:require [foo.util :as util]))

(def ^{:x (util/bar)} x 3)

...for the code above, clean-ns will remove the the require.

@expez
Copy link
Member

expez commented Feb 5, 2019

I'm closing this as a duplicate of #239, because solving that one will also solve this one.

Thanks for the report! 👍

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