[commit: ghc] master: Don't leak internal commentary into HasField's Haddocks (89656c2)

git at git.haskell.org git at git.haskell.org
Thu Oct 4 23:38:47 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/89656c21ca18d949ac28a2c5931a44bc67a36513/ghc

>---------------------------------------------------------------

commit 89656c21ca18d949ac28a2c5931a44bc67a36513
Author: Ryan Scott <ryan.gl.scott at gmail.com>
Date:   Thu Oct 4 18:56:50 2018 -0400

    Don't leak internal commentary into HasField's Haddocks
    
    In commit 2f09753f9620, some internal comments about the kind
    signature of the HasField class accidentially leaked into its
    publicly exported Haddocks.


>---------------------------------------------------------------

89656c21ca18d949ac28a2c5931a44bc67a36513
 libraries/base/GHC/Records.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/base/GHC/Records.hs b/libraries/base/GHC/Records.hs
index 3b1a4c2..0292f3a 100644
--- a/libraries/base/GHC/Records.hs
+++ b/libraries/base/GHC/Records.hs
@@ -29,7 +29,7 @@ module GHC.Records
 -- | Constraint representing the fact that the field @x@ belongs to
 -- the record type @r@ and has field type @a at .  This will be solved
 -- automatically, but manual instances may be provided as well.
---
+
 --   HasField :: forall {k}. k -> * -> * -> Constraint
 --   getField :: forall {k} (x::k) r a. HasField x r a => r -> a
 -- NB: The {k} means that k is an 'inferred' type variable, and



More information about the ghc-commits mailing list