From dc6740d9dc07a215dd7a213134f058d80867a057 Mon Sep 17 00:00:00 2001 From: Nathan Marz Date: Thu, 1 Sep 2016 23:15:42 -0400 Subject: [PATCH] fix accidental reflection --- src/clj/com/rpl/specter/impl.cljc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/clj/com/rpl/specter/impl.cljc b/src/clj/com/rpl/specter/impl.cljc index 69b8345..854c2e7 100644 --- a/src/clj/com/rpl/specter/impl.cljc +++ b/src/clj/com/rpl/specter/impl.cljc @@ -108,8 +108,9 @@ #?( :clj (defmacro exec-select* [this & args] - (let [hinted (with-meta this {:tag 'com.rpl.specter.protocols.RichNavigator})] - `(.select* ~hinted ~@args))) + (let [hinted (with-meta (gensym) {:tag 'com.rpl.specter.protocols.RichNavigator})] + `(let [~hinted ~this] + (.select* ~hinted ~@args)))) :cljs @@ -120,8 +121,9 @@ #?( :clj (defmacro exec-transform* [this & args] - (let [hinted (with-meta this {:tag 'com.rpl.specter.protocols.RichNavigator})] - `(.transform* ~hinted ~@args))) + (let [hinted (with-meta (gensym) {:tag 'com.rpl.specter.protocols.RichNavigator})] + `(let [~hinted ~this] + (.transform* ~hinted ~@args)))) :cljs