Skip to content
Browse files

list? -> seq? in try macro

  • Loading branch information...
1 parent cd89461 commit 88b36c177ebd1bb49dbd874a9d13652fd1de4027 David Nolen committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/cljs/core.clj
View
2 src/clj/cljs/core.clj
@@ -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.
Something went wrong with that request. Please try again.