Skip to content

Commit 05b4bdd

Browse files
committed
Mangle '.' to "$dot"
This should be the last operator needing to be mangled.
1 parent 80141e6 commit 05b4bdd

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)