Skip to content

Commit

Permalink
CLJS-742: Compilation with :output-file option set fails
Browse files Browse the repository at this point in the history
The coll? check on compiler input(s) would incorrectly permit
non-sequential collections to pass through instead of being wrapped
by a vector. Change the check to sequential?
  • Loading branch information
swannodette committed Apr 26, 2015
1 parent 896394e commit a9474ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/cljs/closure.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@
(concat
(apply add-dependencies all-opts
(concat
(if (coll? compiled) compiled [compiled])
(if (sequential? compiled) compiled [compiled])
(when (= :nodejs (:target all-opts))
[(-compile (io/resource "cljs/nodejs.cljs") all-opts)])))
(when (= :nodejs (:target all-opts))
Expand Down

0 comments on commit a9474ea

Please sign in to comment.