Skip to content

Commit 0f7e15a

Browse files
committed
Add better internal naming for reify objects
1 parent 84c97b9 commit 0f7e15a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/potok/v2/core.clj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@
4242
(defmacro reify
4343
[type & impls]
4444
(let [t (with-meta
45-
(gensym
46-
(str "t_"
47-
(str/replace (str (comp/munge ana/*cljs-ns*)) "." "$")))
45+
(gensym (str (name type) "-"))
4846
{:anonymous true
4947
:cljs.analyzer/no-resolve true})
5048
meta-sym (gensym "meta")

0 commit comments

Comments
 (0)