From 0f1c9591b5923a22787b91b5a16cbe8dd1073e23 Mon Sep 17 00:00:00 2001 From: Oleksandr Yakushev Date: Mon, 30 Dec 2024 00:15:56 +0200 Subject: [PATCH] Reuse keyword's symbol when in CLJ runtime --- src/honey/sql.cljc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/honey/sql.cljc b/src/honey/sql.cljc index 9c829e8..cabff3b 100644 --- a/src/honey/sql.cljc +++ b/src/honey/sql.cljc @@ -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