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

Check defmethod/defmulti argument matches #766

Open
jeluard opened this issue Feb 25, 2015 · 0 comments
Open

Check defmethod/defmulti argument matches #766

jeluard opened this issue Feb 25, 2015 · 0 comments

Comments

@jeluard
Copy link

jeluard commented Feb 25, 2015

It would be really great to have defmethod checked for arguments accroding to their respective defmulti.

e.g. the following should be reported:

(defmulti some-method (fn [_ s] s))

(defmethod some-method "some-value"
  [_ _ _]
  ..)

Note that the defmethod accepts 3 arguments while the defmulti expects 2.

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