[Make named doc comments into ExportDoc instead of ExportDecl David Waern **20081027195904 Fixes a crash when processing modules without export lists containing named docs. ] { hunk ./src/Haddock/Interface/Create.hs 414 + mkExportItem (L _ (DocD (DocCommentNamed _ doc)), _, _) = Just $ ExportDoc doc addfile ./tests/tests/NamedDoc.hs hunk ./tests/tests/NamedDoc.hs 1 +module NamedDoc where + +-- $foo bar + addfile ./tests/tests/NamedDoc.html.ref hunk ./tests/tests/NamedDoc.html.ref 1 + + +NamedDoc
 ContentsIndex
NamedDoc
Synopsis
Documentation
bar +
Produced by Haddock version 2.3.0
}