diff options
author | Sebastian Graf <sebastian.graf@kit.edu> | 2021-12-07 11:20:36 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-12-07 13:33:31 -0500 |
commit | 483bd04d0d59b9b9cb26b81d181c4b72655e241b (patch) | |
tree | 6917c5c35f7ce175475535a385ec9e59d4f6eb56 /utils | |
parent | 427f9c122f5b1f130b0a342047c87ee0420050c9 (diff) | |
download | haskell-483bd04d0d59b9b9cb26b81d181c4b72655e241b.tar.gz |
Explicit Data.List import list in check-ppr (#20789)
`check-ppr` features an import of Data.List without an import list.
After 81082cf4, this breaks the local validate flavour because of the compat
warning and `-Werror`. So fix that.
Fixes #20789.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/check-ppr/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/check-ppr/Main.hs b/utils/check-ppr/Main.hs index d064431ec4..0848b9d485 100644 --- a/utils/check-ppr/Main.hs +++ b/utils/check-ppr/Main.hs @@ -3,7 +3,7 @@ {-# LANGUAGE GADTs #-} {-# LANGUAGE ScopedTypeVariables #-} -import Data.List +import Data.List (sortBy, intercalate, isPrefixOf) import Data.Data import Control.Monad.IO.Class import GHC.Types.SrcLoc |