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

Faulty suggestions for do in vector #224

Open
kucerm2 opened this issue Mar 11, 2019 · 2 comments
Open

Faulty suggestions for do in vector #224

kucerm2 opened this issue Mar 11, 2019 · 2 comments

Comments

@kucerm2
Copy link

kucerm2 commented Mar 11, 2019

(defn foo [] (let [do "foo"] [do "bar"]))

Consider using:
  (let [do "foo"] "bar")
instead of:
  (let [do "foo"] [do "bar"])
Consider using:
  "foo"
instead of:
  [do "foo"]
Consider using:
  "bar"
instead of:
  [do "bar"]
@m0smith
Copy link

m0smith commented Nov 13, 2019

I am getting a similar result:

Consider using:
  :db/retractEntity
instead of:
  (fn [id] [:db/retractEntity id])

@frerom
Copy link

frerom commented Apr 17, 2020

I have the same issue, looks like square brackets and parentheses are treated the same

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

3 participants