[commit: haddock] alexbiehl-patch-1, ghc-head, ghc-head1, headdock-library-1.4.5, ie_avails, master, pr-filter-maps, pr/cabal-desc, v2.18, 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: Fix Binary instance for InstalledInterface (#611) (e0e6615)

git at git.haskell.org git at git.haskell.org
Mon Nov 20 21:07:57 UTC 2017


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

On branches: alexbiehl-patch-1,ghc-head,ghc-head1,headdock-library-1.4.5,ie_avails,master,pr-filter-maps,pr/cabal-desc,v2.18,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
Link       : http://git.haskell.org/haddock.git/commitdiff/e0e6615dd421f1b332ce2b11a98de768fa7c29a8

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

commit e0e6615dd421f1b332ce2b11a98de768fa7c29a8
Author: Alex Biehl <alexbiehl at gmail.com>
Date:   Mon May 1 21:59:23 2017 +0200

    Fix Binary instance for InstalledInterface (#611)
    
    (#610) introduced lazy decoding for docs from InstalledInterface but
    forgot to remove the original calls to get and put_


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

e0e6615dd421f1b332ce2b11a98de768fa7c29a8
 haddock-api/src/Haddock/InterfaceFile.hs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/haddock-api/src/Haddock/InterfaceFile.hs b/haddock-api/src/Haddock/InterfaceFile.hs
index 3365581..e5c2fac 100644
--- a/haddock-api/src/Haddock/InterfaceFile.hs
+++ b/haddock-api/src/Haddock/InterfaceFile.hs
@@ -378,8 +378,6 @@ instance Binary InstalledInterface where
     put_ bh is_sig
     put_ bh info
     lazyPut bh (docMap, argMap)
-    put_ bh docMap
-    put_ bh argMap
     put_ bh exps
     put_ bh visExps
     put_ bh opts



More information about the ghc-commits mailing list