From c797f395fa31616b69f1f562b02c881c30c165a7 Mon Sep 17 00:00:00 2001 From: David Waern Date: Thu, 8 Nov 2007 02:33:01 +0000 Subject: Complain if we can't link to wired-in names --- src/Haddock/Interface/Rename.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Haddock/Interface') diff --git a/src/Haddock/Interface/Rename.hs b/src/Haddock/Interface/Rename.hs index bc857c1e..2c231960 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 -- cgit v1.2.3