Skip to content

Commit

Permalink
Fix shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
crisptrutski committed Feb 28, 2024
1 parent d046520 commit 50105e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macaw/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

(set! *warn-on-reflection* true)

(defn- walk-query [parsed-query callbacks val]
(.walk (AstWalker. callbacks val) parsed-query))
(defn- walk-query [parsed-query callbacks init-val]
(.walk (AstWalker. callbacks init-val) parsed-query))

(defn query->components
"Given a parsed query (i.e., a [subclass of] `Statement`) return a map with the `:tables` and `:columns` found within it.
Expand Down

0 comments on commit 50105e4

Please sign in to comment.