summaryrefslogtreecommitdiff
path: root/compiler/GHC/StgToJS/Ids.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/StgToJS/Ids.hs')
-rw-r--r--compiler/GHC/StgToJS/Ids.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/StgToJS/Ids.hs b/compiler/GHC/StgToJS/Ids.hs
index 5d28b511f6..9817b326a3 100644
--- a/compiler/GHC/StgToJS/Ids.hs
+++ b/compiler/GHC/StgToJS/Ids.hs
@@ -111,7 +111,7 @@ makeIdentForId i num id_type current_module = TxtI ident
= current_module
!ident = mkFastStringByteString $ mconcat
- [ mkJsSymbolBS exported mod (occNameFS (nameOccName name))
+ [ mkJsSymbolBS exported mod (occNameMangledFS (nameOccName name))
-------------
-- suffixes