summaryrefslogtreecommitdiff
path: root/utils/check-exact/Parsers.hs
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-05-20 08:42:00 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-05-22 00:08:18 -0400
commitc680691252660995c09bb953a7dd046056d030a2 (patch)
tree4d88f70887adb2616f29301729554e2d6d8ab544 /utils/check-exact/Parsers.hs
parent8c871c07f538045b9bb7bba5dad4896c8def535b (diff)
downloadhaskell-c680691252660995c09bb953a7dd046056d030a2.tar.gz
Remove ANN pragmas in check-ppr and check-exact
This fixes the `devel2+werror` build combo as stage1 does not have TH enabled. ``` utils/check-exact/Preprocess.hs:51:1: error: [-Werror] Ignoring ANN annotations, because this is a stage-1 compiler without -fexternal-interpreter or doesn't support GHCi | 51 | {-# ANN module ("HLint: ignore Reduce duplication" :: String) #-} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ```
Diffstat (limited to 'utils/check-exact/Parsers.hs')
-rw-r--r--utils/check-exact/Parsers.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/check-exact/Parsers.hs b/utils/check-exact/Parsers.hs
index 93ddfd4f07..11005a05cb 100644
--- a/utils/check-exact/Parsers.hs
+++ b/utils/check-exact/Parsers.hs
@@ -65,9 +65,6 @@ import qualified GHC.Types.SrcLoc as GHC
import qualified GHC.LanguageExtensions as LangExt
-{-# ANN module "HLint: ignore Eta reduce" #-}
-{-# ANN module "HLint: ignore Redundant do" #-}
-{-# ANN module "HLint: ignore Reduce duplication" #-}
-- ---------------------------------------------------------------------
-- | Wrapper function which returns Annotations along with the parsed