Skip to content

Commit 816e453

Browse files
committed
Fixes small things that prevented Cljdoc from analyzing the source code as CLJS.
1 parent afec91b commit 816e453

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/vrac/dsl/ast.cljc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(ns vrac.dsl.ast
2-
(:require [lambdaisland.deep-diff2 :refer [diff]]
2+
(:require #?(:clj [lambdaisland.deep-diff2 :refer [diff]])
33
[mate.core :as mc]))
44

55
;; node-type -> child-node -> #{:one :many}
@@ -392,9 +392,11 @@
392392
;; This is a template for creating a new pass.
393393
;; Copy/paste, rename those functions, then implement
394394

395+
#_
395396
(defn- xxx-pre-walk [context]
396397
context)
397398

399+
#_
398400
(defn- xxx-post-walk [{:keys [root-ast path] :as context}]
399401
(let [ast (get-in root-ast path)
400402
ast (case (:node-type ast)
@@ -406,6 +408,7 @@
406408
(-> context
407409
(assoc-in (cons :root-ast path) ast))))
408410

411+
#_
409412
(defn xxx-pass
410413
[context]
411414
(-> context

0 commit comments

Comments
 (0)