Details
-
Type:
Defect
-
Status:
Closed
-
Priority:
Major
-
Resolution: Declined
-
Affects Version/s: Release 1.3
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Example:
user=> (def ^longs la (long-array 0)) #'user/la user=> (defn foo [] (alength la)) CompilerException java.lang.IllegalArgumentException: Unable to resolve classname: clojure.core$longs@32dfcb47, compiling:(NO_SOURCE_PATH:9)
Workaround: use the class string, e.g., ^"[J"
CLJ-851-test.patchProvides a test to reproduce this issue, as well as a test that shows that the workaround of using ^"[J" as type hint works correctly.
CLJ-851-test.patch Provides a test to reproduce this issue, as well as a test that shows that the workaround of using ^"[J" as type hint works correctly.