We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cond->
merge
lint/redundant-call
This trips [lint/redundant-call] - Single-arg merge always returns the arg:
[lint/redundant-call] - Single-arg merge always returns the arg
(let [flag true] (cond-> {::foo "FOO"} flag (merge {::bar "BAR"})))
The text was updated successfully, but these errors were encountered:
Just ran into this, happy to see it documented.
Sorry, something went wrong.
Thanks for the report. I gotta figure out a better way to handle macros than just checking everything for -> in the parent form hah.
->
Fixed in 72add52, release forthcoming.
Released in 1.17.0.
NoahTheDuke
No branches or pull requests
This trips
[lint/redundant-call] - Single-arg merge always returns the arg
:The text was updated successfully, but these errors were encountered: