From e0e6615dd421f1b332ce2b11a98de768fa7c29a8 Mon Sep 17 00:00:00 2001
From: Alex Biehl <alexbiehl@gmail.com>
Date: Mon, 1 May 2017 21:59:23 +0200
Subject: [PATCH] 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_
---
 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 3365581fa1..e5c2face4a 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
-- 
GitLab