aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Types.hs')
-rw-r--r--src/Haddock/Types.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Haddock/Types.hs b/src/Haddock/Types.hs
index 0efffafb..580dc8cc 100644
--- a/src/Haddock/Types.hs
+++ b/src/Haddock/Types.hs
@@ -13,6 +13,7 @@ import qualified Data.Map as Map
import GHC hiding (NoLink)
import Outputable
+import OccName
{-! for DocOption derive: Binary !-}
data DocOption
@@ -141,6 +142,9 @@ data Interface = Interface {
ifaceExportItems :: [ExportItem Name],
ifaceRnExportItems :: [ExportItem DocName],
+ -- | Environment mapping exported names to *original* names
+ ifaceEnv :: Map OccName Name,
+
-- | All the names that are defined in this module
ifaceLocals :: [Name],