fromInteger :: Integer -> Int should fail on overflow
|Reported by:||simonpj||Owned by:||nobody|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
fromInteger 4000000000 :: Int gives -294967296 This is bad; it should really raise an exception. I believe this is the case with all versions of GHC
Note: See TracTickets for help on using tickets.