Skip to content

Defeat clj-kondo's static type analysis #32

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

Merged
merged 3 commits into from
Jan 27, 2025
Merged

Conversation

hlship
Copy link
Owner

@hlship hlship commented Jan 27, 2025

The clj-kondo hook for the defcommand now produces slightly different code, that defeats
the clj-kondo static type analysis, preventing spurious warnings about vectors passed
to particular clojure.core functions.

Fixes #28

@hlship hlship added this to the 0.15.1 milestone Jan 27, 2025
@hlship hlship self-assigned this Jan 27, 2025
@hlship hlship added the bug Something isn't working label Jan 27, 2025
@hlship hlship merged commit 0f97be7 into main Jan 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lint: "Expected: symbol or string or keyword, received: vector"
1 participant