Welcome! Please see the About page for a little more info on how this works.

0 votes
in Compiler by

There are dozens of uses of reflection in Clojure code that can be eliminated by adding suitable type hints. This patch adds the necessary type hints for most of those.

6 Answers

0 votes
by

Comment made by: jafingerhut

Patch clj-1080-eliminate-many-reflection-warnings-patch-v1.txt dated Sep 30 2012 adds type hints to eliminate many uses of reflection in Clojure core code.

0 votes
by

Comment made by: jafingerhut

clj-1080-eliminate-many-reflection-warnings-patch-v2.txt dated Nov 14 2012 is identical to the previous patch (to be removed soon), except it applies cleanly to latest master.

0 votes
by

Comment made by: jafingerhut

clj-1080-eliminate-many-reflection-warnings-patch-v3.txt dated Feb 7 2013 is identical to the previous patch (to be removed soon), except it applies cleanly to latest master. One type hint in the patch was added due to a different change, and was no longer needed in the patch.

0 votes
by

Comment made by: jafingerhut

Patch clj-1080-v4.txt eliminates many, but not all, uses of reflection. To avoid overlap with CLJ-1259, it does not touch pprint or any of the files loaded from pprint.clj. See CLJ-1259 for those.

0 votes
by

Comment made by: jafingerhut

Patch clj-1080-v5.txt eliminates many, but not all, uses of reflection. It does not touch pprint or any of the files loaded from pprint.clj -- see CLJ-1259 for those. Similarly see CLJ-1277 for elimination of reflection in instant.clj

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJ-1080 (reported by jafingerhut)
...