<< Back to previous view

[DPRIMAP-4] There is one reflection warning in data.priority-map when invoking .equiv Created: 25/Apr/13  Updated: 13/Nov/13  Resolved: 13/Nov/13

Status: Resolved
Project: data.priority-map
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Minor
Reporter: Andy Fingerhut Assignee: Mark Engelberg
Resolution: Completed Votes: 0
Labels: None

Attachments: Text File dprimap-4-eliminate-equiv-reflection-patch-v1.txt    
Patch: Code


Reflection warning, clojure/data/priority_map.clj:215:19 - call to equiv can't be resolved.

That line of source is this one inside the deftype for PersistentPriorityMap:
(equiv [this o] (.equiv item->priority o))

Comment by Andy Fingerhut [ 28/Apr/13 2:50 AM ]

Patch dprimap-4-eliminate-equiv-reflection-patch-v1.txt dated Apr 28 2013 eliminates an occurrence of reflection in the call to .equiv by adding a type hint.

Comment by Andy Fingerhut [ 13/Nov/13 3:39 PM ]

Mark Engelberg independently discovered and fixed this issue some time ago.

Generated at Sun Jan 21 18:48:43 CST 2018 using JIRA 4.4#649-r158309.