diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Haddock/Interface/AttachInstances.hs | 6 | 
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 | 
