aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Interface/Create.hs
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2009-01-24 17:48:03 +0000
committerDavid Waern <david.waern@gmail.com>2009-01-24 17:48:03 +0000
commite09ee2fa2c8b1e74e8df8e60182ef5b6438a5d45 (patch)
tree38032acbe21485b2e1a38f169f623ae18386f2e2 /src/Haddock/Interface/Create.hs
parent290bb64e3cef92d60c37afa74ef38b4763c151fa (diff)
Correct comment
Diffstat (limited to 'src/Haddock/Interface/Create.hs')
-rw-r--r--src/Haddock/Interface/Create.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Haddock/Interface/Create.hs b/src/Haddock/Interface/Create.hs
index c2932021..5d41fef2 100644
--- a/src/Haddock/Interface/Create.hs
+++ b/src/Haddock/Interface/Create.hs
@@ -385,8 +385,8 @@ mkExportItems modMap this_mod exported_names decls declMap
| otherwise -> return [ mkExportDecl t x ]
Nothing ->
-- If we can't find the declaration, it must belong to another package.
- -- We return an 'ExportNoDecl', and we try to get the subs from the
- -- installed interface of that package.
+ -- We return just the name of the declaration and try to get the subs
+ -- from the installed interface of that package.
case Map.lookup (nameModule t) instIfaceMap of
Nothing -> return [ ExportNoDecl t [] ]
Just iface ->