Details
-
Type:
Defect
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: Release 1.2
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:1.2, 1.3 beta3
-
Patch:Code
-
Approval:Incomplete
Description
The :hierarchy option for defmulti should be passed a var, but this is not mentioned in the doc string.
The error message from passing the hierarchy directly is rather cryptic:
Evaluation aborted on java.lang.ClassCastException: clojure.lang.PersistentArrayMap cannot be cast to clojure.lang.IRef (SOURCE_FORM_44:19).
Attachments
Activity
Meikel Brandmeyer
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | 0001-Clarify-docstring-for-defmulti.patch [ 10361 ] |
Scott Lowe
made changes -
| Attachment | 0001-CLJ-835-Refine-doc-string-for-defmulti-hierarchy-opt.patch [ 11188 ] |
Scott Lowe
made changes -
| Patch | Code [ 10001 ] |
Rich Hickey
made changes -
| Approval | Vetted [ 10003 ] | |
| Fix Version/s | Release 1.5 [ 10150 ] |
Fogus
made changes -
| Approval | Vetted [ 10003 ] | Incomplete [ 10006 ] |
Rich Hickey
made changes -
| Fix Version/s | Release 1.5 [ 10150 ] |