Skip to content

Commit fc265c5

Browse files
committed
formatting
1 parent 927f221 commit fc265c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/cljs/cljs/analyzer/passes/and_or.cljc

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
(defn single-binding-let? [ast]
3030
(and (= :let (:op ast))
31-
(= 1 (count (-> ast :bindings)))))
31+
(= 1 (count (-> ast :bindings)))))
3232

3333
(defn no-statements? [let-ast]
3434
(= [] (-> let-ast :body :statements)))
@@ -46,7 +46,7 @@
4646
;; remove :env, if same, local will differ only by
4747
;; :context (:expr | :statement)
4848
(= (dissoc (:test if-ast) :env)
49-
(dissoc (:then if-ast) :env)))
49+
(dissoc (:then if-ast) :env)))
5050

5151
(defn test=else? [if-ast]
5252
;; remove :env, if same, local will differ only by
@@ -60,7 +60,7 @@
6060

6161
(defn simple-or? [ast]
6262
(and (simple-test-binding-let? ast)
63-
(test=then? (-> ast :body :ret))))
63+
(test=then? (-> ast :body :ret))))
6464

6565
(defn optimizable-and? [ast]
6666
(and (simple-and? ast)

0 commit comments

Comments
 (0)