From 2d0eb53ebbe880fdec8460e9a78a598a03eaca48 Mon Sep 17 00:00:00 2001
From: David Waern <davve@dtek.chalmers.se>
Date: Thu, 8 Nov 2007 02:33:01 +0000
Subject: [PATCH] Complain if we can't link to wired-in names

---
 src/Haddock/Interface/Rename.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Haddock/Interface/Rename.hs b/src/Haddock/Interface/Rename.hs
index bc857c1ef3..2c23196027 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
-- 
GitLab