<< Back to previous view

[CLJ-678] into-array should work with all primitive types Created: 21/Nov/10  Updated: 17/Dec/10  Resolved: 17/Dec/10

Status: Closed
Project: Clojure
Component/s: None
Affects Version/s: None
Fix Version/s: Release 1.3

Type: Defect Priority: Major
Reporter: Stuart Halloway Assignee: Alan Dipert
Resolution: Completed Votes: 0
Labels: None

Attachments: Text File 678.patch    
Approval: Ok



(into-array Integer/TYPE [0])
(into-array Byte/TYPE [0])

which currently fail with an argument type mismatch.

Comment by Stuart Halloway [ 17/Dec/10 9:15 AM ]

Good task for pairing with Luke. Feel free to grab me and discuss approach.

Comment by Stuart Halloway [ 17/Dec/10 3:10 PM ]

Side question while working on this ticket: Should I create a separate ticket so that {{(into-array [1 2 3]}} returns an array of long instead of Long, or it that too magical?

Comment by Rich Hickey [ 17/Dec/10 3:15 PM ]

Until [1 2 3] is a vector of longs, that's too magical.

Generated at Tue Jan 16 05:52:36 CST 2018 using JIRA 4.4#649-r158309.