From 5c7560315272dabccaec7628f7a822df1d49402e Mon Sep 17 00:00:00 2001
From: simonmar <unknown>
Date: Wed, 24 Mar 2004 09:42:11 +0000
Subject: [PATCH] [haddock @ 2004-03-24 09:42:10 by simonmar] hiding bug from
 Ross Paterson (fixed in rev 1.59 of Main.hs)

---
 examples/hide-bug/A.hs | 2 ++
 examples/hide-bug/B.hs | 1 +
 examples/hide-bug/C.hs | 1 +
 examples/hide-bug/D.hs | 3 +++
 4 files changed, 7 insertions(+)
 create mode 100644 examples/hide-bug/A.hs
 create mode 100644 examples/hide-bug/B.hs
 create mode 100644 examples/hide-bug/C.hs
 create mode 100644 examples/hide-bug/D.hs

diff --git a/examples/hide-bug/A.hs b/examples/hide-bug/A.hs
new file mode 100644
index 0000000000..a9386a40de
--- /dev/null
+++ b/examples/hide-bug/A.hs
@@ -0,0 +1,2 @@
+-- #hide
+module A where { data T = MkT; f :: T; f = MkT }
diff --git a/examples/hide-bug/B.hs b/examples/hide-bug/B.hs
new file mode 100644
index 0000000000..7c5b9dfe20
--- /dev/null
+++ b/examples/hide-bug/B.hs
@@ -0,0 +1 @@
+module B(f, T) where import A
diff --git a/examples/hide-bug/C.hs b/examples/hide-bug/C.hs
new file mode 100644
index 0000000000..363221d9a6
--- /dev/null
+++ b/examples/hide-bug/C.hs
@@ -0,0 +1 @@
+module C(module B) where import B
diff --git a/examples/hide-bug/D.hs b/examples/hide-bug/D.hs
new file mode 100644
index 0000000000..30ac8acca5
--- /dev/null
+++ b/examples/hide-bug/D.hs
@@ -0,0 +1,3 @@
+-- The link to the type T in the doc for this module should point to 
+-- B.T, not A.T.  Bug fixed in rev 1.59 of Main.hs.
+module D(f) where import C
-- 
GitLab