packages feed

inline-c 0.5.5.7 → 0.5.5.8

raw patch · 4 files changed

+5/−4 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

changelog.md view
@@ -1,3 +1,4 @@+- 0.5.5.7: Add workaround for QuickCheck-2.9 bug. See issue #51 - 0.5.5.2: Add docs regarding internals. See issue #41. - 0.5.5.1: Add support for Interruptible calls. The version skip is   simply because I forgot to update the changelog for 0.5.5.0.
inline-c.cabal view
@@ -1,5 +1,5 @@ name:                inline-c-version:             0.5.5.7+version:             0.5.5.8 synopsis:            Write Haskell source files including C code inline. No FFI required. description:         See <https://github.com/fpco/inline-c/blob/master/README.md>. license:             MIT
src/Language/C/Inline/Internal.hs view
@@ -79,7 +79,7 @@ import           System.Environment (getProgName)  -- We cannot use getQ/putQ before 7.10.3 because of <https://ghc.haskell.org/trac/ghc/ticket/10596>-#define USE_GETQ (__GLASGOW_HASKELL__ > 710 || (__GLASGOW_HASKELL__ >= 710 && __GLASGOW_HASKELL_PATCHLEVEL1__ >= 3))+#define USE_GETQ (__GLASGOW_HASKELL__ > 710 || (__GLASGOW_HASKELL__ == 710 && __GLASGOW_HASKELL_PATCHLEVEL1__ >= 3))  #if !USE_GETQ import           Control.Concurrent.MVar (MVar, newMVar, modifyMVar_, readMVar)
test/Language/C/Types/ParseSpec.hs view
@@ -24,14 +24,14 @@ spec :: Hspec.SpecWith () spec = do   Hspec.it "parses everything which is pretty-printable (C)" $ do-    QC.property $ do+    QC.property $ QC.again $ do -- Work around <https://github.com/nick8325/quickcheck/issues/113>       ParameterDeclarationWithTypeNames typeNames ty <-         arbitraryParameterDeclarationWithTypeNames unCIdentifier       return $ isGoodType ty QC.==>         let ty' = assertParse (cCParserContext typeNames) parameter_declaration (prettyOneLine ty)         in Types.untangleParameterDeclaration ty == Types.untangleParameterDeclaration ty'   Hspec.it "parses everything which is pretty-printable (Haskell)" $ do-    QC.property $ do+    QC.property $ QC.again $ do -- Work around <https://github.com/nick8325/quickcheck/issues/113>       ParameterDeclarationWithTypeNames typeNames ty <-         arbitraryParameterDeclarationWithTypeNames unHaskellIdentifier       return $ isGoodType ty QC.==>