aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/IgnoreExports.hs
diff options
context:
space:
mode:
authorAlexis King <lexi.lambda@gmail.com>2019-09-30 20:12:42 -0500
committerAlec Theriault <alec.theriault@gmail.com>2019-09-30 21:12:42 -0400
commit9bbcd3859c9ea08b75e6964490e75236f4a73454 (patch)
tree7014ac1e5c78b0995f200bf249a7b50efead76a8 /html-test/src/IgnoreExports.hs
parent395205c0d86efd006bc8ccde7ddeb425dffe2e9e (diff)
Fix the ignore-exports option (#1082)
The `ignore-exports` option has been broken since #688, as mentioned in https://github.com/haskell/haddock/pull/766#issue-172505043. This PR fixes it.
Diffstat (limited to 'html-test/src/IgnoreExports.hs')
-rw-r--r--html-test/src/IgnoreExports.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/html-test/src/IgnoreExports.hs b/html-test/src/IgnoreExports.hs
index 0321ad02..edb7c4c1 100644
--- a/html-test/src/IgnoreExports.hs
+++ b/html-test/src/IgnoreExports.hs
@@ -1,5 +1,8 @@
{-# OPTIONS_HADDOCK ignore-exports #-}
-module IgnoreExports (foo) where
+module IgnoreExports (Foo, foo) where
+
+-- | documentation for Foo
+data Foo = Bar -- ^ Documentation for Bar
-- | documentation for foo
foo :: Int