Skip to content

Commit e58cbb4

Browse files
slipsetdnolen
authored andcommitted
CLJS-2003 remove redundant calls to str in munge/demunge
1 parent c6b4b76 commit e58cbb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10801,7 +10801,7 @@ reduces them without incurring seq initialization"
1080110801
:else name')]
1080210802
(if (symbol? name)
1080310803
(symbol name')
10804-
(str name'))))
10804+
name')))
1080510805

1080610806
(defn- demunge-str [munged-name]
1080710807
(let [r (js/RegExp. (demunge-pattern) "g")
@@ -10825,7 +10825,7 @@ reduces them without incurring seq initialization"
1082510825
(let [name' (str name)]
1082610826
(if (identical? name' "_DOT__DOT_")
1082710827
".."
10828-
(demunge-str (str name))))))
10828+
(demunge-str name')))))
1082910829

1083010830
;; -----------------------------------------------------------------------------
1083110831
;; Bootstrap helpers - incompatible with advanced compilation

0 commit comments

Comments
 (0)