aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs
index f57d5dd6..796f4939 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -274,7 +274,7 @@ mkExportItems mod_map mod env decl_map decls (Just specs)
= [ ExportDecl (restrictTo (map nameOfQName cs) decl) ]
lookupExport (HsEModuleContents m) = fullContentsOf m
lookupExport (HsEGroup lev str)
- = [ ExportGroup lev doc ]
+ = [ ExportGroup lev "" doc ]
where (doc, _names) = formatDocHeading (lookupForDoc env) str
-- ToDo: report the unresolved names
lookupExport _ = [] -- didn't find it?
@@ -300,7 +300,7 @@ mkExportItems mod_map mod env decl_map decls (Just specs)
fullContentsOfThisModule decls env =
[ mkExportItem decl | decl <- decls, keepDecl decl ]
where mkExportItem (HsDocGroup lev str) =
- ExportGroup lev doc
+ ExportGroup lev "" doc
where
(doc, _names) = formatDocHeading (lookupForDoc env) str
-- ToDo: report the unresolved names