Completed
Details
Assignee
Quetzaly Solano GómezQuetzaly Solano GómezReporter
Quetzaly Solano GómezQuetzaly Solano GómezApproval
OkPatch
CodePriority
MajorAffects versions
Fix versions
Details
Details
Assignee
Quetzaly Solano Gómez
Quetzaly Solano GómezReporter
Quetzaly Solano Gómez
Quetzaly Solano GómezApproval
Ok
Patch
Code
Priority

Affects versions
Fix versions
Created February 13, 2011 at 7:25 PM
Updated February 25, 2011 at 9:25 PM
Resolved February 25, 2011 at 9:25 PM
As describe in this clojure-dev post,
gen-interface
anddefinterface
do not properly support array type hints.Ultimately, this is because
gen-class
andgen-interface
use two different code paths to do essentially the same thing. Boiled down,gen-class
converts hints using(Type/getType (the-class c))
, whereasgen-interface
usesasm-type
, which uses similar, but different, logic thanthe-class
.In my patch, I change
asm-type
to match usethe-class
. I also add entries to theprim->class
map to support primitive arrays.