Details
-
Type:
Defect
-
Status:
Closed
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Release 1.3
-
Component/s: None
-
Labels:None
-
Approval:Ok
Description
defmulti's current behavior of adding a {:tag 'clojure.lang.MultiFn} to the new multimethod's metadata interferes with providing a type hint for the return value of the multimethod. This is easily fixed by deleting this behavior, as in the attached patch.
Converted from http://www.assembla.com/spaces/clojure/tickets/139
Attachments:
0003-Removed-tag-MultiFn-inserted-by-defmulti.patch - https://www.assembla.com/spaces/clojure/documents/cTOAMyzSmr3QQreJe5aVNr/download/cTOAMyzSmr3QQreJe5aVNr