aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Types.hs
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2012-10-14 16:03:43 +0200
committerSimon Hengel <sol@typeful.net>2012-10-14 16:03:43 +0200
commit37a4e2c3b71280fdee7b217dd9ddff090ed34873 (patch)
tree892a56b3f2cd178f7dc1d87eeca6d081f05c0b56 /src/Haddock/Types.hs
parent4334a1657865b5a745ac0e8c56de4318fcd54bac (diff)
Properly handle deprecation messages for re-exported things (fixes #220)
Diffstat (limited to 'src/Haddock/Types.hs')
-rw-r--r--src/Haddock/Types.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Haddock/Types.hs b/src/Haddock/Types.hs
index 9be46748..181ea026 100644
--- a/src/Haddock/Types.hs
+++ b/src/Haddock/Types.hs
@@ -114,8 +114,13 @@ data Interface = Interface
-- | The number of haddockable and haddocked items in the module, as a
-- tuple. Haddockable items are the exports and the module itself.
, ifaceHaddockCoverage :: !(Int, Int)
+
+ -- | Warnings for things defined in this module.
+ , ifaceWarningMap :: !WarningMap
}
+type WarningMap = DocMap Name
+
-- | A subset of the fields of 'Interface' that we store in the interface
-- files.