Uploaded image for project: 'core.typed'
  1. CTYP-197

No matching arities when defining multiple arity protocol method

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: 0.2
    • Fix versions: Backlog
    • Components: None
    • Environment:

      Clojure 1.6.0 and 1.7.0-alpha5

      Description

      When defining multiple-arity protocol methods with clojure.core.typed/defprotocol, deftypes implementing these methods fail to typecheck with "No matching arities" errors. See attached test case.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alex+import import
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: