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

false positive with multi-arity defmethod #269

Closed
borkdude opened this issue Jun 17, 2019 · 3 comments
Closed

false positive with multi-arity defmethod #269

borkdude opened this issue Jun 17, 2019 · 3 comments

Comments

@borkdude
Copy link
Member

(defmulti testmulti (fn [m & _] m))
(defmethod testmulti :some
  ([_] "zero arity")
  ([_ _] "unary")
  ([_ _ _] "binary"))

Error: unsupported binding form

cc @genmeblog

@borkdude
Copy link
Member Author

@genmeblog This is a linux binary that includes a fix, in case you want to test:
https://3939-176829714-gh.circle-artifacts.com/0/release/clj-kondo-2019.06.17-alpha-SNAPSHOT-linux-amd64.zip

@borkdude
Copy link
Member Author

Fixed with 13d7ff9

@genmeblog
Copy link

Finally checked it. Works for me. Thanks!

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

No branches or pull requests

2 participants