From 8695d86b9f5d09b9587e81e56bd696f1f8ce2a7c Mon Sep 17 00:00:00 2001 From: David Waern Date: Thu, 2 Oct 2008 22:59:57 +0000 Subject: Remove ifaceEnv from Interface - it's no longer used --- src/Haddock/Interface/Create.hs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Haddock/Interface') diff --git a/src/Haddock/Interface/Create.hs b/src/Haddock/Interface/Create.hs index 1d41216e..c3ae6338 100644 --- a/src/Haddock/Interface/Create.hs +++ b/src/Haddock/Interface/Create.hs @@ -60,7 +60,6 @@ createInterface ghcMod flags modMap = do famMap = Map.empty --mkFamMap decls' ignoreExps = Flag_IgnoreAllExports `elem` flags exportedNames = ghcExportedNames ghcMod - origEnv = Map.fromList [ (nameOccName n, n) | n <- exportedNames ] instances = ghcInstances ghcMod warnAboutFilteredDecls mod decls @@ -91,7 +90,6 @@ createInterface ghcMod flags modMap = do ifaceSubMap = subMap, ifaceExportItems = prunedExportItems, ifaceRnExportItems = [], - ifaceEnv = origEnv, ifaceExports = exportedNames, ifaceVisibleExports = visibleNames, ifaceDeclMap = declMap, -- cgit v1.2.3