ClojureScript

`(apply vector ...` does not work as expected on the product of `(drop-while ...`

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:
    OS X 10.9 (13A603)
    de6ee41 CLJS-721: support :include-macros and :refer-macros

Description

$ script/repljs
To quit, type: :cljs/quit
ClojureScript:cljs.user> (drop-while (partial = 1) [1 2 3])
(2 3)
ClojureScript:cljs.user> (apply vector (drop-while (partial = 1) [1 2 3]))
[1 2 3]
ClojureScript:cljs.user> (into [] (drop-while (partial = 1) [1 2 3]))
[2 3]

Activity

Hide
Tim Visher added a comment -

Failing test.

Show
Tim Visher added a comment - Failing test.
Tim Visher made changes -
Field Original Value New Value
Attachment fix-725.patch [ 12528 ]
David Nolen made changes -
Description $ script/repljs
To quit, type: :cljs/quit
ClojureScript:cljs.user> (drop-while (partial = 1) [1 2 3])
(2 3)
ClojureScript:cljs.user> (apply vector (drop-while (partial = 1) [1 2 3]))
[1 2 3]
ClojureScript:cljs.user> (into [] (drop-while (partial = 1) [1 2 3]))
[2 3]
{code}
$ script/repljs
To quit, type: :cljs/quit
ClojureScript:cljs.user> (drop-while (partial = 1) [1 2 3])
(2 3)
ClojureScript:cljs.user> (apply vector (drop-while (partial = 1) [1 2 3]))
[1 2 3]
ClojureScript:cljs.user> (into [] (drop-while (partial = 1) [1 2 3]))
[2 3]
{code}
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: