diff --git a/src/Haddock/Interface/Rename.hs b/src/Haddock/Interface/Rename.hs index bc857c1ef3a81cf8779de9590eda30bfd5afcd4e..2c23196027ad97adb72e1fc03da5e68c494935b5 100644 --- a/src/Haddock/Interface/Rename.hs +++ b/src/Haddock/Interface/Rename.hs @@ -61,7 +61,7 @@ renameInterface renamingEnv mod = -- representation. TODO: use the Name constants from the GHC API. -- strings = filter (`notElem` ["()", "[]", "(->)"]) -- (map pretty missingNames) - strings = map pretty . filter (\n -> not (isSystemName n || isWiredInName n || isBuiltInSyntax n)) $ missingNames + strings = map pretty . filter (\n -> not (isSystemName n || isBuiltInSyntax n)) $ missingNames in do -- report things that we couldn't link to. Only do this for non-hidden