[commit: haddock] ghc-7.6: Follow changes in GHC. (42422b7)

David Waern <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/haddock

On branch  : ghc-7.6

http://hackage.haskell.org/trac/ghc/changeset/42422b76fd65dfd37ada0d4da5a85fdf30bf0fa2

>---------------------------------------------------------------

commit 42422b76fd65dfd37ada0d4da5a85fdf30bf0fa2
Author: David Waern <[email protected]>
Date:   Fri Sep 7 14:29:27 2012 +0200

    Follow changes in GHC.

>---------------------------------------------------------------

 src/Haddock/Interface/AttachInstances.hs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Haddock/Interface/AttachInstances.hs b/src/Haddock/Interface/AttachInstances.hs
index 8fff4d7..ebe62cb 100644
--- a/src/Haddock/Interface/AttachInstances.hs
+++ b/src/Haddock/Interface/AttachInstances.hs
@@ -186,3 +186,4 @@ isInstanceHidden expInfo cls tys =
         TyConApp tcon args -> nameHidden (getName tcon) || any typeHidden args
         FunTy t1 t2 -> typeHidden t1 || typeHidden t2
         ForAllTy _ ty -> typeHidden ty
+        LitTy _ -> False
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.