[commit: haddock] T6018-injective-type-families, adamse-D1033, ghc-head, master, wip/10268, wip/10313, wip/D538, wip/D538-1, wip/D538-2, wip/D538-3, wip/D538-4, wip/D538-5, wip/D538-6, wip/D548-master, wip/D548-master-2, wip/T10483, wip/T9840, wip/api-annot-tweaks-7.10, wip/api-annots-ghc-7.10-3, wip/orf-reboot: reflect ForeignType constructore removal (1e99fd0)

git at git.haskell.org git at git.haskell.org
Wed Jul 8 08:34:38 UTC 2015


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

On branches: T6018-injective-type-families,adamse-D1033,ghc-head,master,wip/10268,wip/10313,wip/D538,wip/D538-1,wip/D538-2,wip/D538-3,wip/D538-4,wip/D538-5,wip/D538-6,wip/D548-master,wip/D548-master-2,wip/T10483,wip/T9840,wip/api-annot-tweaks-7.10,wip/api-annots-ghc-7.10-3,wip/orf-reboot
Link       : http://git.haskell.org/haddock.git/commitdiff/1e99fd024be45203452d82a036f5a5b113cb7a06

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

commit 1e99fd024be45203452d82a036f5a5b113cb7a06
Author: Yuras Shumovich <shumovichy at gmail.com>
Date:   Fri Oct 31 16:11:04 2014 -0500

    reflect ForeignType constructore removal
    
    Reviewers: austin
    
    Reviewed By: austin
    
    Differential Revision: https://phabricator.haskell.org/D358


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

1e99fd024be45203452d82a036f5a5b113cb7a06
 haddock-api/src/Haddock/Interface/Rename.hs | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/haddock-api/src/Haddock/Interface/Rename.hs b/haddock-api/src/Haddock/Interface/Rename.hs
index 31bb2b9..e9048b5 100644
--- a/haddock-api/src/Haddock/Interface/Rename.hs
+++ b/haddock-api/src/Haddock/Interface/Rename.hs
@@ -297,10 +297,6 @@ renameLThing fn (L loc x) = return . L loc =<< fn x
 
 renameTyClD :: TyClDecl Name -> RnM (TyClDecl DocName)
 renameTyClD d = case d of
-  ForeignType lname b -> do
-    lname' <- renameL lname
-    return (ForeignType lname' b)
-
 --  TyFamily flav lname ltyvars kind tckind -> do
   FamDecl { tcdFam = decl } -> do
     decl' <- renameFamilyDecl decl



More information about the ghc-commits mailing list