Permalink
Browse files

revert buggy lazy-seq optimization

  • Loading branch information...
1 parent 2397ce2 commit 4b061c06b4d8f6dcdd006b94c9b77bf07a760950 @swannodette swannodette committed Apr 29, 2013
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/cljs/cljs/core.cljs
View
@@ -2020,10 +2020,7 @@ reduces them without incurring seq initialization"
ISeqable
(-seq [coll]
- (lazy-seq-value coll)
- (if-not (nil? x)
- coll
- ())))
+ (seq (lazy-seq-value coll))))
(declare ArrayChunk)

0 comments on commit 4b061c0

Please sign in to comment.