Skip to content

Commit 856ca36

Browse files
committed
Merge pull request purescript#153 from puffnfresh/name-mangling
Mangle '.' to "$dot"
2 parents 80141e6 + 05b4bdd commit 856ca36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Language/PureScript/Pretty/Common.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ identToJs (Escaped name) = name
4141
identCharToString :: Char -> String
4242
identCharToString c | isAlphaNum c = [c]
4343
identCharToString '_' = "_"
44+
identCharToString '.' = "$dot"
4445
identCharToString '$' = "$dollar"
4546
identCharToString '~' = "$tilde"
4647
identCharToString '=' = "$eq"

0 commit comments

Comments
 (0)