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

jaycfields opened this Issue Nov 13, 2012 · 2 comments


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")))
(.setSomething .getSomething "foo")
which probably isn't correct.


jonase commented Nov 13, 2012

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


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