on master help sign in
Type defaulting: make GHC quieter
commit509c320e6eb473ee42bafe3a466224fb7a01094e authorBryan O'Sullivan <bos@serpentine.com> dateSun 22 Sep 2013, 13:59 (13 years ago) parent25f9c9b
1 file changed+1−1
tests/Tests/Regressions.hs+1−1
tests/Tests/Regressions.hs+1−1
@@ -66,7 +66,7 @@ mapAccumL_resize :: IO ()
6666mapAccumL_resize = do
6767 let f a _ = (a, '\65536')
6868 count = 5
69− val = T.mapAccumL f 0 (T.replicate count "a")
69+ val = T.mapAccumL f (0::Int) (T.replicate count "a")
7070 assertEqual "mapAccumL should correctly fill buffers for two-word results"
7171 (0, T.replicate count "\65536") val
7272 assertEqual "mapAccumL should correctly size buffers for two-word results"