Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

invalid replacement recommendation for -> when combined with doto #60

Closed
jaycfields opened this Issue Nov 13, 2012 · 2 comments

Comments

Projects
None yet
3 participants

I have code similar to the following

(doto (SomeJavaClass.)
  (-> .getSomething (.setSomething "foo")))

Kibit is recommending that I change
(-> .getSomething (.setSomething "foo")))
to
(.setSomething .getSomething "foo")
which probably isn't correct.

Owner

jonase commented Nov 13, 2012

This is a known limitation of kibit, see https://github.com/jonase/kibit#known-limitations

Collaborator

danielcompton commented Nov 9, 2014

Closing as this is a known limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment