summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Trommler <ptrommler@acm.org>2021-04-11 11:45:10 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-04-14 14:41:21 -0400
commit79e5c8674d6bc46312efb31101889001951769d7 (patch)
treed40416098bfdd4adcb7bfe9b3234a3bc1bd95c39
parent78ed7adf4f27ece8a50be94a7ee107c8e84ac81e (diff)
downloadhaskell-79e5c8674d6bc46312efb31101889001951769d7.tar.gz
Prelude: Fix version bound on Bits import
Fixes #19683
-rw-r--r--compiler/GHC/Prelude.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/GHC/Prelude.hs b/compiler/GHC/Prelude.hs
index d538adfefb..6a7841c287 100644
--- a/compiler/GHC/Prelude.hs
+++ b/compiler/GHC/Prelude.hs
@@ -37,7 +37,7 @@ NoImplicitPrelude. There are two motivations for this:
import Prelude as X hiding ((<>))
import Data.Foldable as X (foldl')
-#if MIN_VERSION_base(4,15,0)
+#if MIN_VERSION_base(4,16,0)
import GHC.Bits as Bits hiding (shiftL, shiftR)
# if defined(DEBUG)
import qualified GHC.Bits as Bits (shiftL, shiftR)
@@ -85,4 +85,3 @@ shiftR = Bits.shiftR
shiftL = Bits.unsafeShiftL
shiftR = Bits.unsafeShiftR
#endif
-