[commit: haddock] wip/landmine-param-family: Provide PostTc DocName Kind instance (2a160df)
git at git.haskell.org
git at git.haskell.org
Wed Jul 8 08:30:10 UTC 2015
Repository : ssh://git@git.haskell.org/haddock
On branch : wip/landmine-param-family
Link : http://git.haskell.org/haddock.git/commitdiff/2a160df85dc1f3d035c16e2a346efe4b0b85715e
>---------------------------------------------------------------
commit 2a160df85dc1f3d035c16e2a346efe4b0b85715e
Author: Alan Zimmerman <alan.zimm at gmail.com>
Date: Sat Aug 16 14:50:17 2014 +0200
Provide PostTc DocName Kind instance
>---------------------------------------------------------------
2a160df85dc1f3d035c16e2a346efe4b0b85715e
src/Haddock/Interface/Rename.hs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Haddock/Interface/Rename.hs b/src/Haddock/Interface/Rename.hs
index 7344591..87ba994 100644
--- a/src/Haddock/Interface/Rename.hs
+++ b/src/Haddock/Interface/Rename.hs
@@ -179,6 +179,8 @@ renameLKind = renameLType
renameMaybeLKind :: Maybe (LHsKind Name) -> RnM (Maybe (LHsKind DocName))
renameMaybeLKind = traverse renameLKind
+type instance PostTc DocName Kind = ()
+
renameType :: HsType Name -> RnM (HsType DocName)
renameType t = case t of
HsForAllTy expl tyvars lcontext ltype -> do
More information about the ghc-commits
mailing list