aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockRename.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/HaddockRename.hs')
-rw-r--r--src/HaddockRename.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/HaddockRename.hs b/src/HaddockRename.hs
index d1bc5efa..a759178e 100644
--- a/src/HaddockRename.hs
+++ b/src/HaddockRename.hs
@@ -109,6 +109,9 @@ renameDecl decl
ctxt <- mapM renamePred ctxt
asst <- renamePred asst
return (HsInstDecl loc ctxt asst decls)
+ HsDocCommentNamed loc name doc -> do
+ doc <- renameDoc doc
+ return (HsDocCommentNamed loc name doc)
_ ->
return decl