Skip to content

Commit 3847961

Browse files
bjeanesdnolen
authored andcommitted
CLJS-1457 Add test for unicode symbol munge
1 parent 21914ce commit 3847961

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/clojure/cljs/analyzer_tests.clj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,11 @@
348348
(a/gen-constant-id :.)))
349349
(is (not= (a/gen-constant-id '$)
350350
(a/gen-constant-id '.))))
351+
352+
(deftest test-unicode-munging-cljs-1457
353+
(is (= (a/gen-constant-id :C♯) 'cst$kw$C_u266f_)
354+
(= (a/gen-constant-id 'C♯) 'cst$sym$C_u266f_)))
355+
351356
;; Constants
352357

353358
(deftest test-constants

0 commit comments

Comments
 (0)