diff options
author | Simon Hengel <sol@typeful.net> | 2012-05-17 18:35:21 +0200 |
---|---|---|
committer | Simon Hengel <sol@typeful.net> | 2012-05-17 19:08:20 +0200 |
commit | a6bcb1e464ff33161f84c5794f5ae239604fb7e5 (patch) | |
tree | 05e8f0dc399324f4ff1b06428b5907a3123521ac /src/Haddock/Backends/Hoogle.hs | |
parent | e090bbc5bdc8eb34d5340e467c7157341dfdd945 (diff) |
Attach warnings to `Documentation` type
Diffstat (limited to 'src/Haddock/Backends/Hoogle.hs')
-rw-r--r-- | src/Haddock/Backends/Hoogle.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Backends/Hoogle.hs b/src/Haddock/Backends/Hoogle.hs index 98eeaab8..d27ca80f 100644 --- a/src/Haddock/Backends/Hoogle.hs +++ b/src/Haddock/Backends/Hoogle.hs @@ -198,7 +198,7 @@ ppCtor dat subdocs con = lookupCon subdocs (con_name con) -- DOCUMENTATION ppDocumentation :: Outputable o => Documentation o -> [String] -ppDocumentation (Documentation d) = doc d +ppDocumentation (Documentation d w) = doc d ++ doc w doc :: Outputable o => Maybe (Doc o) -> [String] |