diff options
-rw-r--r-- | libraries/base/Control/Exception.hs | 3 | ||||
-rw-r--r-- | libraries/base/Control/Exception/Base.hs | 3 | ||||
-rw-r--r-- | libraries/base/GHC/Exception.hs | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/libraries/base/Control/Exception.hs b/libraries/base/Control/Exception.hs index 1383972c7a..9c388f4450 100644 --- a/libraries/base/Control/Exception.hs +++ b/libraries/base/Control/Exception.hs @@ -1,5 +1,5 @@ {-# LANGUAGE Trustworthy #-} -{-# LANGUAGE NoImplicitPrelude, ExistentialQuantification, PatternSynonyms #-} +{-# LANGUAGE NoImplicitPrelude, ExistentialQuantification #-} ----------------------------------------------------------------------------- -- | @@ -56,7 +56,6 @@ module Control.Exception ( RecSelError(..), RecUpdError(..), ErrorCall(..), - pattern ErrorCall, TypeError(..), -- * Throwing exceptions diff --git a/libraries/base/Control/Exception/Base.hs b/libraries/base/Control/Exception/Base.hs index ba2502f379..ece5c69dd5 100644 --- a/libraries/base/Control/Exception/Base.hs +++ b/libraries/base/Control/Exception/Base.hs @@ -1,6 +1,5 @@ {-# LANGUAGE Trustworthy #-} {-# LANGUAGE NoImplicitPrelude, MagicHash #-} -{-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE StandaloneDeriving #-} ----------------------------------------------------------------------------- @@ -39,7 +38,7 @@ module Control.Exception.Base ( RecConError(..), RecSelError(..), RecUpdError(..), - ErrorCall(..), pattern ErrorCall, + ErrorCall(..), TypeError(..), -- #10284, custom error type for deferred type errors -- * Throwing exceptions diff --git a/libraries/base/GHC/Exception.hs b/libraries/base/GHC/Exception.hs index c31a203f9b..e4925c782b 100644 --- a/libraries/base/GHC/Exception.hs +++ b/libraries/base/GHC/Exception.hs @@ -24,7 +24,7 @@ module GHC.Exception ( Exception(..) -- Class , throw - , SomeException(..), ErrorCall(..), pattern ErrorCall, ArithException(..) + , SomeException(..), ErrorCall(..,ErrorCall), ArithException(..) , divZeroException, overflowException, ratioZeroDenomException , errorCallException, errorCallWithCallStackException , showCallStack, popCallStack, showSrcLoc |