diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2021-06-09 10:50:26 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-06-10 02:40:07 -0400 |
commit | 61c51c00b6e12e309bc5643e89330b93d86f5449 (patch) | |
tree | e3a56a8c709933111f5fef63a6bf739f124a4e68 | |
parent | fb6b6379efcc07c6b5fd00368310f204f4a5f7bc (diff) | |
download | haskell-61c51c00b6e12e309bc5643e89330b93d86f5449.tar.gz |
Fix redundant import
-rw-r--r-- | compiler/GHC/SysTools/Terminal.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/GHC/SysTools/Terminal.hs b/compiler/GHC/SysTools/Terminal.hs index 37f53772ef..14a39ffad6 100644 --- a/compiler/GHC/SysTools/Terminal.hs +++ b/compiler/GHC/SysTools/Terminal.hs @@ -3,14 +3,15 @@ module GHC.SysTools.Terminal (stderrSupportsAnsiColors) where import GHC.Prelude -import GHC.IO (catchException) #if defined(MIN_VERSION_terminfo) +import GHC.IO (catchException) import Data.Maybe (fromMaybe) import System.Console.Terminfo (SetupTermError, Terminal, getCapability, setupTermFromEnv, termColors) import System.Posix (queryTerminal, stdError) #elif defined(mingw32_HOST_OS) +import GHC.IO (catchException) import GHC.Utils.Exception (try) -- import Data.Bits ((.|.), (.&.)) import Foreign (Ptr, peek, with) |