Skip to content

Commit

Permalink
Reuse keyword's symbol when in CLJ runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-yakushev committed Dec 29, 2024
1 parent f5399e3 commit 0f1c959
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/honey/sql.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -1753,7 +1753,8 @@
(if (keyword? k)
(if-let [n (namespace k)]
(symbol n (name k))
(symbol (name k)))
#?(:clj (.sym ^clojure.lang.Keyword k)
:default (symbol (name k))))
k))

(defn format-dsl
Expand Down

0 comments on commit 0f1c959

Please sign in to comment.