summaryrefslogtreecommitdiff
path: root/compiler/GHC/StgToCmm
diff options
context:
space:
mode:
authorHécate <hecate+gitlab@glitchbra.in>2020-12-30 00:48:38 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-25 04:52:41 -0400
commit0029df2bd52aa7f93e2254a369428e4261e5d3ae (patch)
treeb16cb0ceae679a978177090f48e12836c0782886 /compiler/GHC/StgToCmm
parentaa99f516431745c5b9261db56a5ef4a3b333ce8c (diff)
downloadhaskell-0029df2bd52aa7f93e2254a369428e4261e5d3ae.tar.gz
Add compiler linting to CI
This commit adds the `lint:compiler` Hadrian target to the CI runner. It does also fixes hints in the compiler/ and libraries/base/ codebases.
Diffstat (limited to 'compiler/GHC/StgToCmm')
-rw-r--r--compiler/GHC/StgToCmm/DataCon.hs1
-rw-r--r--compiler/GHC/StgToCmm/Monad.hs4
2 files changed, 1 insertions, 4 deletions
diff --git a/compiler/GHC/StgToCmm/DataCon.hs b/compiler/GHC/StgToCmm/DataCon.hs
index 95e975fd0a..fbf7a01399 100644
--- a/compiler/GHC/StgToCmm/DataCon.hs
+++ b/compiler/GHC/StgToCmm/DataCon.hs
@@ -1,4 +1,3 @@
-{-# LANGUAGE TupleSections #-}
{-# LANGUAGE CPP #-}
-----------------------------------------------------------------------------
diff --git a/compiler/GHC/StgToCmm/Monad.hs b/compiler/GHC/StgToCmm/Monad.hs
index fec12e16c7..98720a2f50 100644
--- a/compiler/GHC/StgToCmm/Monad.hs
+++ b/compiler/GHC/StgToCmm/Monad.hs
@@ -1,10 +1,8 @@
-{-# LANGUAGE DeriveFunctor #-}
+{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE MultiParamTypeClasses #-}
-{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE PatternSynonyms #-}
-
-----------------------------------------------------------------------------
--
-- Monad for Stg to C-- code generation