From e758f65d68c1124d1c1332173d539d779a4f4d18 Mon Sep 17 00:00:00 2001 From: David Waern Date: Wed, 25 Feb 2009 22:15:23 +0000 Subject: Hide fynTyConName only for recent GHC versions --- src/Haddock/Interface/AttachInstances.hs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Haddock') 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 -- cgit v1.2.3