We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa41e7 commit 21914ceCopy full SHA for 21914ce
src/main/clojure/cljs/analyzer.cljc
@@ -380,7 +380,12 @@
380
(str value))
381
name (if (= "." name)
382
"_DOT_"
383
- (-> name (string/replace "-" "_DASH_") (munge) (string/replace "." "$")))]
+ (-> name
384
+ (string/replace "-" "_DASH_")
385
+ (munge)
386
+ (string/replace "." "$")
387
+ (string/replace #"(?i)[^a-z0-9$_]"
388
+ #(str "_u" (format "%04x" (int (first %))) "_"))))]
389
(symbol (str prefix name))))
390
391
(defn- register-constant!
0 commit comments