aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Interface
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Interface')
-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 ->