[commit: haddock] wip/T11080-open-data-kinds: Follow changes from #11080 (03d012f)
git at git.haskell.org
git at git.haskell.org
Mon Nov 20 20:59:27 UTC 2017
- Previous message: [commit: haddock] alexbiehl-patch-1, ghc-head, ghc-head1, haddock-quick, headdock-library-1.4.5, ie_avails, master, pr-filter-maps, pr/cabal-desc, travis, v2.18, wip-located-module-as, wip/D2418, wip/T12105, wip/T12105-2, wip/T12942, wip/T13163, wip/T3384, wip/embelleshed-rdr, wip/new-tree-one-param, wip/rae, wip/remove-frames, wip/remove-frames1, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13: deal with un-wiring of IP class (17388b0)
- Next message: [commit: haddock] wip/T11080-open-data-kinds: Follow changes from #11080 (03d012f)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Repository : ssh://git@git.haskell.org/haddock
On branch : wip/T11080-open-data-kinds
Link : http://git.haskell.org/haddock.git/commitdiff/03d012f16e532f2323de74b0597576780d1f1ec0
>---------------------------------------------------------------
commit 03d012f16e532f2323de74b0597576780d1f1ec0
Author: Jan Stolarek <jan.stolarek at p.lodz.pl>
Date: Thu Jan 14 16:08:08 2016 +0100
Follow changes from #11080
>---------------------------------------------------------------
03d012f16e532f2323de74b0597576780d1f1ec0
haddock-api/src/Haddock/Interface/Rename.hs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/haddock-api/src/Haddock/Interface/Rename.hs b/haddock-api/src/Haddock/Interface/Rename.hs
index 0f97ee3..517e8ac 100644
--- a/haddock-api/src/Haddock/Interface/Rename.hs
+++ b/haddock-api/src/Haddock/Interface/Rename.hs
@@ -405,13 +405,15 @@ renameFamilyInfo (ClosedTypeFamily eqns)
; return $ ClosedTypeFamily eqns' }
renameDataDefn :: HsDataDefn Name -> RnM (HsDataDefn DocName)
-renameDataDefn (HsDataDefn { dd_ND = nd, dd_ctxt = lcontext, dd_cType = cType
+renameDataDefn (HsDataDefn { dd_ND = nd, dd_kindOnly = allowed_in_terms
+ , dd_ctxt = lcontext, dd_cType = cType
, dd_kindSig = k, dd_cons = cons }) = do
lcontext' <- renameLContext lcontext
k' <- renameMaybeLKind k
cons' <- mapM (mapM renameCon) cons
-- I don't think we need the derivings, so we return Nothing
- return (HsDataDefn { dd_ND = nd, dd_ctxt = lcontext', dd_cType = cType
+ return (HsDataDefn { dd_ND = nd, dd_kindOnly = allowed_in_terms
+ , dd_ctxt = lcontext', dd_cType = cType
, dd_kindSig = k', dd_cons = cons', dd_derivs = Nothing })
renameCon :: ConDecl Name -> RnM (ConDecl DocName)
- Previous message: [commit: haddock] alexbiehl-patch-1, ghc-head, ghc-head1, haddock-quick, headdock-library-1.4.5, ie_avails, master, pr-filter-maps, pr/cabal-desc, travis, v2.18, wip-located-module-as, wip/D2418, wip/T12105, wip/T12105-2, wip/T12942, wip/T13163, wip/T3384, wip/embelleshed-rdr, wip/new-tree-one-param, wip/rae, wip/remove-frames, wip/remove-frames1, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13: deal with un-wiring of IP class (17388b0)
- Next message: [commit: haddock] wip/T11080-open-data-kinds: Follow changes from #11080 (03d012f)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ghc-commits
mailing list