Clojure

into-array should work with all primitive types

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: Release 1.3
  • Component/s: None
  • Labels:
    None
  • Approval:
    Ok

Description

e.g.

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

which currently fail with an argument type mismatch.

Activity

Alexander Redington made changes -
Field Original Value New Value
Approval Vetted
Hide
Stuart Halloway added a comment -

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

Show
Stuart Halloway added a comment - Good task for pairing with Luke. Feel free to grab me and discuss approach.
Stuart Halloway made changes -
Waiting On alan.dipert
Alan Dipert made changes -
Assignee Alan Dipert [ alan@thinkrelevance.com ]
Alan Dipert made changes -
Status Open [ 1 ] In Progress [ 3 ]
Alan Dipert made changes -
Attachment 678.patch [ 10056 ]
Alan Dipert made changes -
Waiting On alan.dipert stu
Hide
Stuart Halloway added a comment -

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?

Show
Stuart Halloway added a comment - 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?
Stuart Halloway made changes -
Approval Vetted Screened
Waiting On stu richhickey
Hide
Rich Hickey added a comment -

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

Show
Rich Hickey added a comment - Until [1 2 3] is a vector of longs, that's too magical.
Rich Hickey made changes -
Waiting On richhickey
Rich Hickey made changes -
Approval Screened Ok
Stuart Halloway made changes -
Status In Progress [ 3 ] Closed [ 6 ]
Resolution Completed [ 1 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: