diff options
Diffstat (limited to 'src/Haddock/Interface')
| -rw-r--r-- | src/Haddock/Interface/Rename.hs | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/Haddock/Interface/Rename.hs b/src/Haddock/Interface/Rename.hs index 267428fe..844525cf 100644 --- a/src/Haddock/Interface/Rename.hs +++ b/src/Haddock/Interface/Rename.hs @@ -59,8 +59,9 @@ renameInterface renamingEnv mod =        -- filter out certain built in type constructors using their string         -- representation. TODO: use the Name constants from the GHC API. -      strings = filter (`notElem` ["()", "[]", "(->)"])  -                (map pretty missingNames) +--      strings = filter (`notElem` ["()", "[]", "(->)"])  +--                (map pretty missingNames) +      strings = map pretty . filter (\n -> not (isSystemName n || isWiredInName n || isBuiltInSyntax n)) $ missingNames    in do      -- report things that we couldn't link to. Only do this for non-hidden | 
