From: simonmar Date: Thu, 29 Mar 2001 13:33:46 +0000 (+0000) Subject: [project @ 2001-03-29 13:33:46 by simonmar] X-Git-Tag: Approximately_9120_patches~2252 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2b6b801a8c14595b71269aadddb20f71e498f778;p=ghc-hetmet.git [project @ 2001-03-29 13:33:46 by simonmar] use fromIntegral instead of fromInt --- diff --git a/ghc/tests/numeric/should_run/arith006.hs b/ghc/tests/numeric/should_run/arith006.hs index 8e7ff88..b837692 100644 --- a/ghc/tests/numeric/should_run/arith006.hs +++ b/ghc/tests/numeric/should_run/arith006.hs @@ -1,6 +1,4 @@ -- !!! printing Floats; was a bug in hbc (reported by andy) -- -import Int( Num(fromInt) ) - -main = print ((fromInt 42) :: Float) +main = print ((fromIntegral (42 :: Int)) :: Float)