summaryrefslogtreecommitdiff
path: root/compiler/GHC/Types/Unique
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2020-07-16 16:01:09 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-08-28 02:22:36 -0400
commitc6f50cea42a9ffc947bf4243986663cc820b0ec8 (patch)
tree1afe6d0ac47040f9fe8f43cacb5a211e9a4c32b3 /compiler/GHC/Types/Unique
parentbacccb73c9b080c3c01a5e55ecb0a00cd8a77e55 (diff)
downloadhaskell-c6f50cea42a9ffc947bf4243986663cc820b0ec8.tar.gz
Add missing primop documentation (#18454)
- Add three pseudoops to primops.txt.pp, so that Haddock renders the documentation - Update comments - Remove special case for "->" - it's no longer exported from GHC.Prim - Remove reference to Note [Compiling GHC.Prim] - the ad-hoc fix is no longer there after updates to levity polymorphism. - Document GHC.Prim - Remove the comment that lazy is levity-polymorphic. As far as I can tell, it never was: in 80e399639, only the unfolding was given an open type variable. - Remove haddock hack in GHC.Magic - no longer neccessary after adding realWorld# to primops.txt.pp.
Diffstat (limited to 'compiler/GHC/Types/Unique')
-rw-r--r--compiler/GHC/Types/Unique/Supply.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Types/Unique/Supply.hs b/compiler/GHC/Types/Unique/Supply.hs
index a401946732..30181c773e 100644
--- a/compiler/GHC/Types/Unique/Supply.hs
+++ b/compiler/GHC/Types/Unique/Supply.hs
@@ -180,7 +180,7 @@ The magic `inline` function does two things
* It helps ensure that 'm' really does inline.
-Note that 'inline' evaporates in phase 0. See Note [inlineIdMagic]
+Note that 'inline' evaporates in phase 0. See Note [inlineId magic]
in GHC.Core.Opt.ConstantFold.match_inline.
The INLINE pragma on multiShotIO is very important, else the