ClojureScript

(persistent! (assoc! (transient [0]) nil 1)) => [1]

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    r2156
  • Patch:
    Code and Test

Description

assoc!-ing a non-numeric index into a transient vector is the same as assoc!-ing index 0. This should throw an exception instead. Patch and tests attached.

  1. cljs-768.patch
    21/Feb/14 9:31 AM
    2 kB
    Francis Avila
  2. cljs-768.patch
    17/Feb/14 11:39 AM
    1 kB
    Francis Avila

Activity

Francis Avila made changes -
Field Original Value New Value
Attachment cljs-768.patch [ 12817 ]
Francis Avila made changes -
Attachment cljs-768.patch [ 12837 ]
David Nolen made changes -
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: