on master help sign in
Fix -dev compilation failure.
commit30ddc28884d1068c75bcb6b865041e42ddd5e5de authorPranay Sashank <pranaysashank@composewell.com> dateThu 23 Apr 2020, 02:03 (6 years ago) parentced5261
1 file changed+2−6
test/Main.hs+2−6
test/Main.hs+2−6
@@ -658,9 +658,7 @@ checkFoldxStrictness = do
658658 let s = return (1 :: Int) `S.consM` error "failure"
659659 catch (S.foldx (\_ a -> if a == 1 then error "success" else "done")
660660 "begin" id s)
661− (\e -> case e of
662− ErrorCall err -> return err
663− _ -> throw e)
661+ (\(ErrorCall err) -> return err)
664662 `shouldReturn` "success"
665663#endif
666664
@@ -686,9 +684,7 @@ checkScanxStrictness = do
686684 )
687685 >> return "finished"
688686 )
689− (\e -> case e of
690− ErrorCall err -> return err
691− _ -> throw e)
687+ (\(ErrorCall err) -> return err)
692688 `shouldReturn` "success"
693689#endif
694690