diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index 8f21f02123f52850839fb3ff0db801f3915c5a30..01628dcad1e9524549a87892ea19bb04e3075926 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -56,7 +56,7 @@ Library bytestring >= 0.9 && < 0.11, binary == 0.8.*, time >= 1.4 && < 1.9, - containers >= 0.5 && < 0.6, + containers >= 0.5 && < 0.7, array >= 0.1 && < 0.6, filepath >= 1 && < 1.5, template-haskell == 2.14.*, diff --git a/ghc/ghc-bin.cabal.in b/ghc/ghc-bin.cabal.in index 6c12941630b7b5c2d5069a44d8789d965cc3012e..d3cc40235d01d4721e587d386162c28d8d49eff3 100644 --- a/ghc/ghc-bin.cabal.in +++ b/ghc/ghc-bin.cabal.in @@ -52,7 +52,7 @@ Executable ghc if flag(ghci) -- NB: this is never built by the bootstrapping GHC+libraries Build-depends: - containers == 0.5.*, + containers >= 0.5 && < 0.7, deepseq == 1.4.*, ghci == @ProjectVersionMunged@, haskeline == 0.7.*, diff --git a/libraries/Cabal b/libraries/Cabal index b8c4ce3dacece1b1ac68360b48a3129d9ca440c1..8fbacca029f3ad764576aefb610a0408c4b6aaad 160000 --- a/libraries/Cabal +++ b/libraries/Cabal @@ -1 +1 @@ -Subproject commit b8c4ce3dacece1b1ac68360b48a3129d9ca440c1 +Subproject commit 8fbacca029f3ad764576aefb610a0408c4b6aaad diff --git a/libraries/containers b/libraries/containers index a57e7dd0c0aa6a719a73085ae30edef8206ccea0..e5b3bbaeb79cbf3a2c99bd14257d4199cc651b73 160000 --- a/libraries/containers +++ b/libraries/containers @@ -1 +1 @@ -Subproject commit a57e7dd0c0aa6a719a73085ae30edef8206ccea0 +Subproject commit e5b3bbaeb79cbf3a2c99bd14257d4199cc651b73 diff --git a/libraries/ghci/ghci.cabal.in b/libraries/ghci/ghci.cabal.in index 47f65afe147c3736510e8976870d9218a8c80845..32ce79c013c8fac6dca756cd691a52c693848e61 100644 --- a/libraries/ghci/ghci.cabal.in +++ b/libraries/ghci/ghci.cabal.in @@ -72,7 +72,7 @@ library base >= 4.8 && < 4.13, binary == 0.8.*, bytestring == 0.10.*, - containers == 0.5.*, + containers >= 0.5 && < 0.7, deepseq == 1.4.*, filepath == 1.4.*, ghc-boot == @ProjectVersionMunged@, diff --git a/libraries/haskeline b/libraries/haskeline index 4168a4adb7a8a572995d4b5deee33fbe34d0f1aa..19b0be5687e933494c462a72cd7348c397aa3406 160000 --- a/libraries/haskeline +++ b/libraries/haskeline @@ -1 +1 @@ -Subproject commit 4168a4adb7a8a572995d4b5deee33fbe34d0f1aa +Subproject commit 19b0be5687e933494c462a72cd7348c397aa3406 diff --git a/libraries/hpc b/libraries/hpc index 91f520cb9725d812fa93b57bca1d8dbd72c88dd5..85e04edd6e29de549301cf10d2c725cbf29b2098 160000 --- a/libraries/hpc +++ b/libraries/hpc @@ -1 +1 @@ -Subproject commit 91f520cb9725d812fa93b57bca1d8dbd72c88dd5 +Subproject commit 85e04edd6e29de549301cf10d2c725cbf29b2098 diff --git a/libraries/libiserv/libiserv.cabal b/libraries/libiserv/libiserv.cabal index 8cf7c41c72f80602341efc44ad84089773588d81..183e7774d2bd70b77f7de708621986bed127ce47 100644 --- a/libraries/libiserv/libiserv.cabal +++ b/libraries/libiserv/libiserv.cabal @@ -23,7 +23,7 @@ Library Build-Depends: base >= 4 && < 5, binary >= 0.7 && < 0.9, bytestring >= 0.10 && < 0.11, - containers >= 0.5 && < 0.6, + containers >= 0.5 && < 0.7, deepseq >= 1.4 && < 1.5, ghci == 8.6.* if flag(network) diff --git a/libraries/parallel b/libraries/parallel index d08911d1748b0c6bd0dbde282acc164c94bb0d83..41279a764acd0758f15801c10650d73343637451 160000 --- a/libraries/parallel +++ b/libraries/parallel @@ -1 +1 @@ -Subproject commit d08911d1748b0c6bd0dbde282acc164c94bb0d83 +Subproject commit 41279a764acd0758f15801c10650d73343637451 diff --git a/testsuite/tests/backpack/should_run/bkprun05.bkp b/testsuite/tests/backpack/should_run/bkprun05.bkp index 25c951e3ffd44acdc2a62d69dcf716ed2e536b18..de2374f5693a9f9c8210572381b2bb3734556403 100644 --- a/testsuite/tests/backpack/should_run/bkprun05.bkp +++ b/testsuite/tests/backpack/should_run/bkprun05.bkp @@ -53,8 +53,8 @@ unit app where union :: Ord k => Map k a -> Map k a -> Map k a unionWith :: Ord k => (a -> a -> a) -> Map k a -> Map k a -> Map k a unionWithKey :: Ord k => (k -> a -> a -> a) -> Map k a -> Map k a -> Map k a - unions :: Ord k => [Map k a] -> Map k a - unionsWith :: Ord k => (a -> a -> a) -> [Map k a] -> Map k a + unions :: (Foldable f, Ord k) => f (Map k a) -> Map k a + unionsWith :: (Foldable f, Ord k) => (a -> a -> a) -> f (Map k a) -> Map k a difference :: Ord k => Map k a -> Map k b -> Map k a differenceWith :: Ord k => (a -> b -> Maybe a) -> Map k a -> Map k b -> Map k a differenceWithKey :: Ord k => (k -> a -> b -> Maybe a) -> Map k a -> Map k b -> Map k a @@ -127,8 +127,6 @@ unit app where maxView :: Map k a -> Maybe (a, Map k a) minViewWithKey :: Map k a -> Maybe ((k, a), Map k a) maxViewWithKey :: Map k a -> Maybe ((k, a), Map k a) - showTree :: (Show k, Show a) => Map k a -> String - showTreeWith :: (k -> a -> String) -> Bool -> Bool -> Map k a -> String valid :: Ord k => Map k a -> Bool module App where import Map diff --git a/testsuite/tests/backpack/should_run/bkprun05.stderr b/testsuite/tests/backpack/should_run/bkprun05.stderr index 2c24fdaa4b39fa94670de414a9bf5317ecd97868..12d7d92d2d55e201361dc57d8ac1dec0b097284d 100644 --- a/testsuite/tests/backpack/should_run/bkprun05.stderr +++ b/testsuite/tests/backpack/should_run/bkprun05.stderr @@ -1,4 +1,4 @@ bkprun05: Prelude.undefined CallStack (from HasCallStack): - error, called at libraries/base/GHC/Err.hs:79:14 in base:GHC.Err - undefined, called at bkprun05.bkp:138:30 in app+app-0UPCJKIsbig160BXB4AqAb:App + error, called at libraries/base/GHC/Err.hs:78:14 in base:GHC.Err + undefined, called at bkprun05.bkp:136:30 in app+app-18HBpsO5TPxCVSTvBQxSrq:App diff --git a/testsuite/tests/backpack/should_run/bkprun06.bkp b/testsuite/tests/backpack/should_run/bkprun06.bkp index 596fa897bc80ee69e085116b3d5e186212c58eb6..121c59236bcfcaf7a7b8b4227dffe7dd8ce71f49 100644 --- a/testsuite/tests/backpack/should_run/bkprun06.bkp +++ b/testsuite/tests/backpack/should_run/bkprun06.bkp @@ -53,8 +53,8 @@ unit sigs where union :: Ord k => Map k a -> Map k a -> Map k a unionWith :: Ord k => (a -> a -> a) -> Map k a -> Map k a -> Map k a unionWithKey :: Ord k => (k -> a -> a -> a) -> Map k a -> Map k a -> Map k a - unions :: Ord k => [Map k a] -> Map k a - unionsWith :: Ord k => (a -> a -> a) -> [Map k a] -> Map k a + unions :: (Foldable f, Ord k) => f (Map k a) -> Map k a + unionsWith :: (Foldable f, Ord k) => (a -> a -> a) -> f (Map k a) -> Map k a difference :: Ord k => Map k a -> Map k b -> Map k a differenceWith :: Ord k => (a -> b -> Maybe a) -> Map k a -> Map k b -> Map k a differenceWithKey :: Ord k => (k -> a -> b -> Maybe a) -> Map k a -> Map k b -> Map k a @@ -127,8 +127,6 @@ unit sigs where maxView :: Map k a -> Maybe (a, Map k a) minViewWithKey :: Map k a -> Maybe ((k, a), Map k a) maxViewWithKey :: Map k a -> Maybe ((k, a), Map k a) - showTree :: (Show k, Show a) => Map k a -> String - showTreeWith :: (k -> a -> String) -> Bool -> Bool -> Map k a -> String valid :: Ord k => Map k a -> Bool signature MapAsSet where diff --git a/testsuite/tests/driver/T10970.stdout b/testsuite/tests/driver/T10970.stdout index 3a25dc5f15bb4396bac177fcfd332b94a7c6b2c4..bf26c89bd81c1448952fcf9f367880457046240d 100644 --- a/testsuite/tests/driver/T10970.stdout +++ b/testsuite/tests/driver/T10970.stdout @@ -1,2 +1,2 @@ -0.5.11.0 +0.6.0.1 OK diff --git a/testsuite/tests/package/all.T b/testsuite/tests/package/all.T index 670550e41d5bf099e1d9f08a2fcd1a58c11f4fbf..869abb1a7aa34c03c9ba8a5f167cc13aae91b26d 100644 --- a/testsuite/tests/package/all.T +++ b/testsuite/tests/package/all.T @@ -6,7 +6,7 @@ inc_ghc = '-package ghc ' hide_ghc = '-hide-package ghc ' test('package01', normal, compile, [hide_all + incr_containers]) -test('package01e', normal, compile_fail, [hide_all + incr_containers]) +test('package01e', normalise_version('containers'), compile_fail, [hide_all + incr_containers]) test('package02', normal, compile, [hide_all + inc_containers + incr_containers]) test('package03', normal, compile, [hide_all + incr_containers + inc_containers]) test('package04', normal, compile, [incr_containers]) @@ -18,5 +18,5 @@ test('package08e', normalise_version('ghc'), compile_fail, [incr_ghc + hide_ghc] test('package09e', normal, compile_fail, ['-package "containers (Data.Map as M, Data.Set as M)"']) test('package10', normal, compile, ['-hide-all-packages -package "ghc (UniqFM as Prelude)" ']) -test('T4806', normal, compile_fail, ['-ignore-package containers']) -test('T4806a', normal, compile_fail, ['-ignore-package deepseq']) \ No newline at end of file +test('T4806', normalise_version('containers'), compile_fail, ['-ignore-package containers']) +test('T4806a', normalise_version('containers'), compile_fail, ['-ignore-package deepseq']) diff --git a/utils/hpc/hpc-bin.cabal b/utils/hpc/hpc-bin.cabal index e83a45d1f28d492564e294709679efb72da0edd1..a1368cf8d0e76c2fdc58ffd3187a37e5b25c671d 100644 --- a/utils/hpc/hpc-bin.cabal +++ b/utils/hpc/hpc-bin.cabal @@ -31,7 +31,7 @@ Executable hpc Build-Depends: base >= 4 && < 5, directory >= 1 && < 1.4, filepath >= 1 && < 1.5, - containers >= 0.1 && < 0.6, + containers >= 0.1 && < 0.7, array >= 0.1 && < 0.6, hpc diff --git a/utils/hsc2hs b/utils/hsc2hs index b8588039f3810e2d0f52e9afdb15998992ee38b1..6b6938db11a33904bb6ba90d70d89df4b72a7f90 160000 --- a/utils/hsc2hs +++ b/utils/hsc2hs @@ -1 +1 @@ -Subproject commit b8588039f3810e2d0f52e9afdb15998992ee38b1 +Subproject commit 6b6938db11a33904bb6ba90d70d89df4b72a7f90 diff --git a/utils/iserv/iserv.cabal b/utils/iserv/iserv.cabal index 405b26f0d8ca88428d9a8759135f0ec9aecfcd5f..684da9410b66deca87540e12bcca18232ca06838 100644 --- a/utils/iserv/iserv.cabal +++ b/utils/iserv/iserv.cabal @@ -33,7 +33,7 @@ Executable iserv base >= 4 && < 5, binary >= 0.7 && < 0.9, bytestring >= 0.10 && < 0.11, - containers >= 0.5 && < 0.6, + containers >= 0.5 && < 0.7, deepseq >= 1.4 && < 1.5, ghci == 8.6.*, libiserv == 8.6.*