aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2012-09-07 14:29:27 +0200
committerDavid Waern <david.waern@gmail.com>2012-09-07 14:29:27 +0200
commit42422b76fd65dfd37ada0d4da5a85fdf30bf0fa2 (patch)
treebd73edd5703a92b57b40af0821e79aa6e2037f6f
parent81b9440ce14377c3be69fe01adf12471540676f1 (diff)
Follow changes in GHC.
-rw-r--r--src/Haddock/Interface/AttachInstances.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Haddock/Interface/AttachInstances.hs b/src/Haddock/Interface/AttachInstances.hs
index 8fff4d7a..ebe62cb6 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