[commit: haddock] wip/landmine-param-family: Put all the PostRn/PostTc derivations in the same place (cc52fea)

git at git.haskell.org git at git.haskell.org
Wed Jul 8 08:30:43 UTC 2015


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

On branch  : wip/landmine-param-family
Link       : http://git.haskell.org/haddock.git/commitdiff/cc52feaba589c16a6eeb3a60fbb5d35531bbee03

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

commit cc52feaba589c16a6eeb3a60fbb5d35531bbee03
Author: Alan Zimmerman <alan.zimm at gmail.com>
Date:   Sat Aug 23 16:58:32 2014 +0200

    Put all the PostRn/PostTc derivations in the same place


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

cc52feaba589c16a6eeb3a60fbb5d35531bbee03
 src/Haddock/Interface/Rename.hs | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/Haddock/Interface/Rename.hs b/src/Haddock/Interface/Rename.hs
index 24e7412..1e3d011 100644
--- a/src/Haddock/Interface/Rename.hs
+++ b/src/Haddock/Interface/Rename.hs
@@ -180,8 +180,6 @@ renameLKind = renameLType
 renameMaybeLKind :: Maybe (LHsKind Name) -> RnM (Maybe (LHsKind DocName))
 renameMaybeLKind = traverse renameLKind
 
-type instance PostTc DocName Kind  = PlaceHolder
-type instance PostTc DocName Coercion  = PlaceHolder
 
 renameType :: HsType Name -> RnM (HsType DocName)
 renameType t = case t of
@@ -459,7 +457,15 @@ renameClsInstD (ClsInstDecl { cid_overlap_mode = omode
                       , cid_sigs = []
                       , cid_tyfam_insts = lATs', cid_datafam_insts = lADTs' })
 
+
 type instance PostRn DocName NameSet  = PlaceHolder
+type instance PostRn DocName Fixity   = PlaceHolder
+type instance PostRn DocName Bool     = PlaceHolder
+type instance PostRn DocName [Name]   = PlaceHolder
+
+type instance PostTc DocName Kind     = PlaceHolder
+type instance PostTc DocName Type     = PlaceHolder
+type instance PostTc DocName Coercion = PlaceHolder
 
 renameTyFamInstD :: TyFamInstDecl Name -> RnM (TyFamInstDecl DocName)
 renameTyFamInstD (TyFamInstDecl { tfid_eqn = eqn })



More information about the ghc-commits mailing list