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

ambiguous unhinted method-as-function should warn about adding metadata #2281

Open
borkdude opened this issue Feb 13, 2024 · 1 comment
Open
Projects

Comments

@borkdude
Copy link
Member

When the metadata here is missing:

(apply ^[] String/toUpperCase ["hi"])

clj-kondo could show the compiler error message (and possibly even the desired metadata)

@borkdude borkdude added this to Needs triage in clj-kondo via automation Feb 13, 2024
@borkdude borkdude moved this from Needs triage to High priority (next release) in clj-kondo Feb 13, 2024
@borkdude
Copy link
Member Author

To solve this issue we need to add the arities to the cache. Currently we only have flags.

@borkdude borkdude moved this from High priority (next release) to Medium priority (new / enhance) in clj-kondo Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
clj-kondo
  
Medium priority (new / enhance)
Development

No branches or pull requests

1 participant