summaryrefslogtreecommitdiff
path: root/libraries/template-haskell/Language
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-04-05 17:39:13 +0200
committerSylvain Henry <sylvain@haskus.fr>2020-04-18 20:04:46 +0200
commit15312bbb53f247c9ed2c5cf75100a9f44c1c7227 (patch)
tree8306dcc04a5b7c82464f903044dfdd589e7fdcd7 /libraries/template-haskell/Language
parent3ca52151881451ce5b3a7740d003e811b586140d (diff)
downloadhaskell-15312bbb53f247c9ed2c5cf75100a9f44c1c7227.tar.gz
Modules (#13009)
* SysTools * Parser * GHC.Builtin * GHC.Iface.Recomp * Settings Update Haddock submodule Metric Decrease: Naperian parsing001
Diffstat (limited to 'libraries/template-haskell/Language')
-rw-r--r--libraries/template-haskell/Language/Haskell/TH/Syntax.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/template-haskell/Language/Haskell/TH/Syntax.hs b/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
index 4c8aacf97f..c14bec1f65 100644
--- a/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
+++ b/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
@@ -1598,7 +1598,7 @@ unboxedSumDataName alt arity
prefix = "unboxedSumDataName: "
debug_info = " (alt: " ++ show alt ++ ", arity: " ++ show arity ++ ")"
- -- Synced with the definition of mkSumDataConOcc in TysWiredIn
+ -- Synced with the definition of mkSumDataConOcc in GHC.Builtin.Types
sum_occ = '(' : '#' : bars nbars_before ++ '_' : bars nbars_after ++ "#)"
bars i = replicate i '|'
nbars_before = alt - 1
@@ -1614,7 +1614,7 @@ unboxedSumTypeName arity
(NameG TcClsName (mkPkgName "ghc-prim") (mkModName "GHC.Prim"))
where
- -- Synced with the definition of mkSumTyConOcc in TysWiredIn
+ -- Synced with the definition of mkSumTyConOcc in GHC.Builtin.Types
sum_occ = '(' : '#' : replicate (arity - 1) '|' ++ "#)"
-----------------------------------------------------