<< Back to previous view

[CLJS-604] (concat nil []) => Error: No protocol method INext.-next Created: 03/Oct/13  Updated: 04/Oct/13  Resolved: 04/Oct/13

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

Type: Defect Priority: Major
Reporter: Immo Heikkinen Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: None
Environment:

[org.clojure/clojurescript "0.0-1909"]



 Description   

cljs.user=> (concat nil [])
"Error evaluating:" (concat nil []) :as "cljs.core.concat.call(null,null,cljs.core.PersistentVector.EMPTY);\n"
#<Error: No protocol method INext.-next defined for type cljs.core/PersistentVector: []>



 Comments   
Comment by Immo Heikkinen [ 03/Oct/13 1:46 AM ]

Looks like error is always thrown when concatenating vector to empty collection.

Comment by David Nolen [ 04/Oct/13 8:42 PM ]

fixed, http://github.com/clojure/clojurescript/commit/73aa7ef0dd75e960538d53e1423d7023dd568efb

Generated at Wed Jul 23 18:42:25 CDT 2014 using JIRA 4.4#649-r158309.