Skip to content

Commit 2539c6e

Browse files
committed
lint warnings
1 parent 07c5d20 commit 2539c6e

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/nextjournal/clerk/analyzer.clj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@
147147
(swap! !deps conj v)))
148148
(ana-jvm/macroexpand-1 form env))
149149
analyzed (analyze-form {#'ana/macroexpand-1 mexpander} (rewrite-defcached form))
150-
_ (def a* analyzed)
151150
nodes (ana-ast/nodes analyzed)
152151
{:keys [vars declared]} (get-vars+forward-declarations nodes)
153152
vars- (set/difference vars declared)
@@ -186,13 +185,6 @@
186185
(seq declared) (assoc :declared declared)
187186
var (assoc :var var))))
188187

189-
(comment
190-
(nextjournal.clerk.analyzer2/get-vars+forward-declarations n*)
191-
(nextjournal.clerk.analyzer/get-vars+forward-declarations n*)
192-
d
193-
f
194-
)
195-
196188
#_(analyze '(assoc {} :a :b))
197189
#_(analyze '[[assoc]])
198190
#_(analyze nil)

src/nextjournal/clerk/analyzer2.clj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@
123123
(-> (analyze-form (rewrite-defcached form))
124124
(ana/resolve-syms-pass)
125125
(ana/macroexpand-pass)))
126-
_ (def a* analyzed)
127126
_ (ana/prewalk (ana/only-nodes
128127
#{:var :binding :symbol}
129128
(fn [var-node]
@@ -149,7 +148,6 @@
149148
(swap! !deps conj (.getName ^Class clazz))))))))
150149
var-node)) analyzed)
151150
nodes (ana/nodes analyzed)
152-
_ (def n* nodes)
153151
{:keys [vars declared]} (get-vars+forward-declarations nodes)
154152
vars- (set/difference vars declared)
155153
var (when (and (= 1 (count vars))

0 commit comments

Comments
 (0)