<< Back to previous view

[CLJS-262] vector-seq optimizations introduced un-conj-able sequence Created: 18/May/12  Updated: 27/Jul/13  Resolved: 18/May/12

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Brian Taylor Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: bug


Due to changes introduced in commit ddd7fa3d960b0fe32083d3cb35ff064e968d53c4 "attempting to optimize seq on vectors" the following code will fail with the an error:

(conj (rest [1 2]) 4)

The error is "No protocol method ICollection.-conj defined for type object: [object Object]" and the object in question is the reify result returned by vector-seq.

Comment by David Nolen [ 18/May/12 9:58 PM ]

fixed, http://github.com/clojure/clojurescript/commit/1d20ac061199a0acd3a1fe5ae08579edb255f377

Generated at Mon Jan 22 14:46:07 CST 2018 using JIRA 4.4#649-r158309.