diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Haddock/Convert.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Haddock/Convert.hs b/src/Haddock/Convert.hs index 958667a0..b5fc2b9d 100644 --- a/src/Haddock/Convert.hs +++ b/src/Haddock/Convert.hs @@ -186,6 +186,9 @@ synifyDataCon use_gadt_syntax dc = noLoc $ -- finally we get synifyDataCon's result! in ConDecl name Implicit{-we don't know nor care-} qvars ctx tys res_ty Nothing +#if __GLASGOW_HASKELL__ >= 611 + False --we don't want any "deprecated GADT syntax" warnings! +#endif synifyName :: NamedThing n => n -> Located Name synifyName n = noLoc (getName n) |