aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2009-02-25 22:15:23 +0000
committerDavid Waern <david.waern@gmail.com>2009-02-25 22:15:23 +0000
commite758f65d68c1124d1c1332173d539d779a4f4d18 (patch)
treed73cf7636ba0b3e3125efc8523aca29e8df2bada /src
parenta87570b16240534595aa9c5ebfcdd2a50d3ba131 (diff)
Hide fynTyConName only for recent GHC versions
Diffstat (limited to 'src')
-rw-r--r--src/Haddock/Interface/AttachInstances.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Haddock/Interface/AttachInstances.hs b/src/Haddock/Interface/AttachInstances.hs
index 80272001..c14ff8a6 100644
--- a/src/Haddock/Interface/AttachInstances.hs
+++ b/src/Haddock/Interface/AttachInstances.hs
@@ -23,7 +23,13 @@ import Name
import SrcLoc
import InstEnv
import Class
+
+#if __GLASGOW_HASKELL__ >= 610 && __GHC_PATCHLEVEL__ >= 2
import TypeRep hiding (funTyConName)
+#else
+import TypeRep
+#endif
+
import Var hiding (varName)
import TyCon
import PrelNames