diff options
author | davve <davve@dtek.chalmers.se> | 2006-07-29 16:16:43 +0000 |
---|---|---|
committer | davve <davve@dtek.chalmers.se> | 2006-07-29 16:16:43 +0000 |
commit | 82a5bcbb729d769a53e9c14b0be9c9b6b8daa548 (patch) | |
tree | 5b322c70a0384bc2130c65e18bd0809d2a5e0712 /examples | |
parent | 6697b3f741f85b187e18cd9aeed658e974832b43 (diff) |
Add instances, build renaming environment, start on the renamer
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hide-bug/B.hs | 4 | ||||
-rw-r--r-- | examples/hide-bug/C.hs | 7 | ||||
-rw-r--r-- | examples/hide-bug/D.hs | 4 |
3 files changed, 12 insertions, 3 deletions
diff --git a/examples/hide-bug/B.hs b/examples/hide-bug/B.hs index 7c5b9dfe..f2ef544a 100644 --- a/examples/hide-bug/B.hs +++ b/examples/hide-bug/B.hs @@ -1 +1,3 @@ -module B(f, T) where import A +module B(Test) where + +data Test = Test diff --git a/examples/hide-bug/C.hs b/examples/hide-bug/C.hs index 363221d9..d846035b 100644 --- a/examples/hide-bug/C.hs +++ b/examples/hide-bug/C.hs @@ -1 +1,6 @@ -module C(module B) where import B +module C(C.bla) where + +import D + +bla :: Test +bla = undefined diff --git a/examples/hide-bug/D.hs b/examples/hide-bug/D.hs index 30ac8acc..a9203a7c 100644 --- a/examples/hide-bug/D.hs +++ b/examples/hide-bug/D.hs @@ -1,3 +1,5 @@ -- 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 +module D(Test) where + +import B |