[commit: ghc] master: Update haddock submodule (4c7da9c)
git at git.haskell.org
git at git.haskell.org
Wed Dec 16 15:56:53 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/4c7da9c557ac5990fb4ccdd6145e0d2487a57219/ghc
>---------------------------------------------------------------
commit 4c7da9c557ac5990fb4ccdd6145e0d2487a57219
Author: Ben Gamari <ben at smart-cactus.org>
Date: Wed Dec 16 07:47:51 2015 -0500
Update haddock submodule
Also rename and move the horribly named isVanillaLSig to Haddock as
isUserLSig, reflecting the fact that it returns whether the signature
was provided by the user or generated.
>---------------------------------------------------------------
4c7da9c557ac5990fb4ccdd6145e0d2487a57219
compiler/hsSyn/HsBinds.hs | 6 ------
utils/haddock | 2 +-
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/compiler/hsSyn/HsBinds.hs b/compiler/hsSyn/HsBinds.hs
index 267627d..3641642 100644
--- a/compiler/hsSyn/HsBinds.hs
+++ b/compiler/hsSyn/HsBinds.hs
@@ -819,12 +819,6 @@ isFixityLSig :: LSig name -> Bool
isFixityLSig (L _ (FixSig {})) = True
isFixityLSig _ = False
-isVanillaLSig :: LSig name -> Bool -- User type signatures
--- A badly-named function, but it's part of the GHCi (used
--- by Haddock) so I don't want to change it gratuitously.
-isVanillaLSig (L _(TypeSig {})) = True
-isVanillaLSig _ = False
-
isTypeLSig :: LSig name -> Bool -- Type signatures
isTypeLSig (L _(TypeSig {})) = True
isTypeLSig (L _(ClassOpSig {})) = True
diff --git a/utils/haddock b/utils/haddock
index d4657f0..66cf3d2 160000
--- a/utils/haddock
+++ b/utils/haddock
@@ -1 +1 @@
-Subproject commit d4657f07912416a1b14ddb517696f8ef3ffb85a7
+Subproject commit 66cf3d2714ef1cf851782fbe4378f8c2b1af3335
More information about the ghc-commits
mailing list