Permalink
Browse files

list? -> seq? in try macro

  • Loading branch information...
David Nolen David Nolen
David Nolen authored and David Nolen committed Dec 20, 2012
1 parent cd89461 commit 88b36c177ebd1bb49dbd874a9d13652fd1de4027
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/cljs/core.clj
View
@@ -863,7 +863,7 @@
Catches and handles JavaScript exceptions."
[& forms]
- (let [catch? #(and (list? %) (= (first %) 'catch))
+ (let [catch? #(and (seq? %) (= (first %) 'catch))
[body catches] (split-with (complement catch?) forms)
[catches fin] (split-with catch? catches)
e (gensym "e")]

0 comments on commit 88b36c1

Please sign in to comment.