dejafu 1.3.0.2 → 1.3.0.3
raw patch · 3 files changed
+23/−4 lines, 3 filesdep ~exceptionsPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: exceptions
API changes (from Hackage documentation)
Files
- CHANGELOG.rst +13/−0
- Test/DejaFu/Conc.hs +7/−1
- dejafu.cabal +3/−3
CHANGELOG.rst view
@@ -6,6 +6,19 @@ .. _PVP: https://pvp.haskell.org/ ++1.3.0.3 (2018-03-11)+--------------------++* Git: :tag:`dejafu-1.3.0.3`+* Hackage: :hackage:`dejafu-1.3.0.3`++Miscellaneous+~~~~~~~~~~~~~++* (:pull:`245`) The upper bound on :hackage:`exceptions` is <0.11.++ 1.3.0.2 (2018-03-11) --------------------
Test/DejaFu/Conc.hs view
@@ -132,7 +132,13 @@ mask mb = toConc (AMasking MaskedInterruptible (\f -> unC $ mb $ wrap f)) uninterruptibleMask mb = toConc (AMasking MaskedUninterruptible (\f -> unC $ mb $ wrap f)) -#if MIN_VERSION_exceptions(0,9,0)+#if MIN_VERSION_exceptions(0,10,0)+ generalBracket acquire release use = Ca.mask $ \unmasked -> do+ resource <- acquire+ b <- unmasked (use resource) `Ca.catch` (\e -> release resource (Ca.ExitCaseException e) >> Ca.throwM e)+ c <- release resource (Ca.ExitCaseSuccess b)+ pure (b, c)+#elif MIN_VERSION_exceptions(0,9,0) -- from https://github.com/fpco/stackage/issues/3315#issuecomment-368583481 generalBracket acquire release cleanup use = Ca.mask $ \unmasked -> do resource <- acquire
dejafu.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: dejafu-version: 1.3.0.2+version: 1.3.0.3 synopsis: A library for unit-testing concurrent programs. description:@@ -33,7 +33,7 @@ source-repository this type: git location: https://github.com/barrucadu/dejafu.git- tag: dejafu-1.3.0.2+ tag: dejafu-1.3.0.3 library exposed-modules: Test.DejaFu@@ -61,7 +61,7 @@ , concurrency >=1.3 && <1.5 , containers >=0.5 && <0.6 , deepseq >=1.1 && <2- , exceptions >=0.7 && <0.10+ , exceptions >=0.7 && <0.11 , leancheck >=0.6 && <0.8 , profunctors >=4.0 && <6.0 , random >=1.0 && <1.2