summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Exception
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-03-15 09:41:03 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-20 07:53:24 -0400
commit226cefd0a8ae0212e8748ee427e617abd725c649 (patch)
treeae50b2827fb1905bb9c49b10bf53786203daff53 /libraries/base/GHC/Exception
parent8e054ff3c79be5d33a00449bec5e7d4814ff2e54 (diff)
downloadhaskell-226cefd0a8ae0212e8748ee427e617abd725c649.tar.gz
Fix fake import in GHC.Exception.Type boot module
It seems like I imported "GHC.Types ()" thinking that it would transitively import GHC.Num.Integer when I wrote that module; but it doesn't. This led to build failures. See https://mail.haskell.org/pipermail/ghc-devs/2021-March/019641.html
Diffstat (limited to 'libraries/base/GHC/Exception')
-rw-r--r--libraries/base/GHC/Exception/Type.hs-boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/Exception/Type.hs-boot b/libraries/base/GHC/Exception/Type.hs-boot
index 1b4f0c0d81..b47fb46b49 100644
--- a/libraries/base/GHC/Exception/Type.hs-boot
+++ b/libraries/base/GHC/Exception/Type.hs-boot
@@ -9,7 +9,7 @@ module GHC.Exception.Type
, underflowException
) where
-import GHC.Types ()
+import GHC.Num.Integer () -- See Note [Depend on GHC.Num.Integer] in GHC.Base
data SomeException
divZeroException, overflowException,