[commit: packages/binary] master: Make tests compile on GHC 7.4.1. (dd48ed1)

git at git.haskell.org git at git.haskell.org
Sun Dec 14 17:54:39 UTC 2014


Repository : ssh://git@git.haskell.org/binary

On branch  : master
Link       : http://git.haskell.org/packages/binary.git/commitdiff/dd48ed1683013cc08013ca7ea79d752c731a5362

>---------------------------------------------------------------

commit dd48ed1683013cc08013ca7ea79d752c731a5362
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date:   Sat Apr 19 11:13:38 2014 +0400

    Make tests compile on GHC 7.4.1.


>---------------------------------------------------------------

dd48ed1683013cc08013ca7ea79d752c731a5362
 tests/Action.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Action.hs b/tests/Action.hs
index df632ec..1013a9b 100644
--- a/tests/Action.hs
+++ b/tests/Action.hs
@@ -115,7 +115,7 @@ randomInput n = do
   s <- vectorOf m $ choose ('a', 'z')
   let b = B.pack $ map (fromIntegral.ord) s
   rest <- randomInput (n-m)
-  return (L.append (L.fromStrict b) rest)
+  return (L.append (L.fromChunks [b]) rest)
 
 -- | Build binary programs and compare running them to running a (hopefully)
 -- identical model.



More information about the ghc-commits mailing list