From 3265e4e14d88a7d5a6689a95fb37175abd0b45a5 Mon Sep 17 00:00:00 2001 From: Michael Blume Date: Sat, 21 May 2016 13:26:06 -0700 Subject: [PATCH] fix arglist metadata --- src/honeysql/helpers.clj | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/honeysql/helpers.clj b/src/honeysql/helpers.clj index 3b73108..69dde96 100644 --- a/src/honeysql/helpers.clj +++ b/src/honeysql/helpers.clj @@ -23,7 +23,11 @@ (build-clause ~kw m# args#))) ;; maintain the original arglist instead of getting ;; ([& args__6880__auto__]) - (alter-meta! assoc :arglists '(~arglist)))))) + (alter-meta! + assoc + :arglists + '(~(into [] (rest arglist)) + ~(into [(first arglist)] (rest arglist)))))))) (defn collify [x] (if (coll? x) x [x]))