[commit: packages/time] format-widths, improve-leapseconds, master, posix-perf, tasty, wip/travis: fix for latest GHC (1674b5d)

git at git.haskell.org git at git.haskell.org
Mon Feb 20 21:14:57 UTC 2017


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

On branches: format-widths,improve-leapseconds,master,posix-perf,tasty,wip/travis
Link       : http://git.haskell.org/packages/time.git/commitdiff/1674b5d844d146915003beb46c152b3056cfd3a9

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

commit 1674b5d844d146915003beb46c152b3056cfd3a9
Author: Ashley Yakeley <ashley at semantic.org>
Date:   Sat Jul 7 19:59:16 2012 -0700

    fix for latest GHC
    
    Ignore-this: b6ff8799465d56758c990e952c77e140
    
    darcs-hash:20120708025916-ac6dd-6a0bae17c075e655e248024f48e0fed5a259433f


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

1674b5d844d146915003beb46c152b3056cfd3a9
 test/TestParseTime.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/TestParseTime.hs b/test/TestParseTime.hs
index a8b3832..1ee7368 100644
--- a/test/TestParseTime.hs
+++ b/test/TestParseTime.hs
@@ -78,7 +78,7 @@ expectedYear :: Integer -> Integer
 expectedYear i | i >= 69 = 1900 + i
 expectedYear i = 2000 + i
 
-show2 :: (Integral n) => n -> String
+show2 :: (Integral n,Show n) => n -> String
 show2 i = (show (div i 10)) ++ (show (mod i 10))
 
 parseYY :: Integer -> IO Bool



More information about the ghc-commits mailing list