summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2014-03-16 18:35:28 +0100
committerJoachim Breitner <mail@joachim-breitner.de>2014-03-16 18:46:16 +0100
commitd59170b6deaee480640889e8a7eef5a863242562 (patch)
tree52ff222f04a2c9e14682b1abf4db4984fea72fb9 /utils
parentdb497cd1bef818e5b2ae3028a48538f2cba95157 (diff)
downloadhaskell-d59170b6deaee480640889e8a7eef5a863242562.tar.gz
Coercible is now exported from GHC.Types (#8894)
so do not export it in GHC.Prim, and also have the pseudo-code for GHC.Prim import GHC.Types, so that haddock is happy.
Diffstat (limited to 'utils')
-rw-r--r--utils/genprimopcode/Main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/genprimopcode/Main.hs b/utils/genprimopcode/Main.hs
index d60081f6d3..05d42faaef 100644
--- a/utils/genprimopcode/Main.hs
+++ b/utils/genprimopcode/Main.hs
@@ -252,6 +252,7 @@ gen_hs_source (Info defaults entries) =
++ "{-\n"
++ unlines (map opt defaults)
++ "-}\n"
+ ++ "import GHC.Types (Coercible)\n"
++ unlines (concatMap ent entries') ++ "\n\n\n"
where entries' = concatMap desugarVectorSpec entries