-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
[analysis] Missing locals analysis of deftype args #1612
Comments
I found the issue: the bindings are analyzed, but are not "registered" so they won't be flagged as unused. But this has the negative side effect that they also don't end up in analysis. We clearly need to separate these concerns. |
any reason to not flag them as unused like all other function arities? |
Yes, unused bindings must be renamed to be ignored: |
@ericdallo Fixed on master. Plz test :) |
Thanks! Will test |
Confimed this one fixed for clojure-lsp OOTB, thank you! |
version
2022.03.09
platform
JVM
editor
clojure-lsp
problem
there are missing
locals
analysis forbar
in the following code:repro
Output
expected behavior
Expect bar to be available on locals
Note that bar
local-usage
is already available, missing only thelocals
oneThe text was updated successfully, but these errors were encountered: