diff options
| author | Sylvain Henry <sylvain@haskus.fr> | 2021-05-06 16:07:32 +0200 |
|---|---|---|
| committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-05-12 21:41:43 -0400 |
| commit | da56ed41b62ab132db6d62637c11076985410b24 (patch) | |
| tree | 05f3930ae630e4e90a44021419943d8ccee8ead4 /compiler/GHC/Driver/Make.hs | |
| parent | f78c25da05849797dab684a221923aeac244c69b (diff) | |
| download | haskell-da56ed41b62ab132db6d62637c11076985410b24.tar.gz | |
Ensure assert from Control.Exception isn't used
Diffstat (limited to 'compiler/GHC/Driver/Make.hs')
| -rw-r--r-- | compiler/GHC/Driver/Make.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/GHC/Driver/Make.hs b/compiler/GHC/Driver/Make.hs index 51110e4134..654ba697a1 100644 --- a/compiler/GHC/Driver/Make.hs +++ b/compiler/GHC/Driver/Make.hs @@ -78,7 +78,7 @@ import GHC.Data.Maybe ( expectJust ) import GHC.Data.StringBuffer import qualified GHC.LanguageExtensions as LangExt -import GHC.Utils.Exception ( tryIO ) +import GHC.Utils.Exception ( tryIO, AsyncException(..), evaluate ) import GHC.Utils.Monad ( allM ) import GHC.Utils.Outputable import GHC.Utils.Panic @@ -119,7 +119,6 @@ import Control.Concurrent ( forkIOWithUnmask, killThread ) import qualified GHC.Conc as CC import Control.Concurrent.MVar import Control.Concurrent.QSem -import Control.Exception import Control.Monad import Control.Monad.Trans.Except ( ExceptT(..), runExceptT, throwE ) import qualified Control.Monad.Catch as MC |
