[GHC] #14262: fdReady cannot wait more than 49 days

GHC ghc-devs at haskell.org
Wed Sep 20 23:16:49 UTC 2017


#14262: fdReady cannot wait more than 49 days
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #8684, #13497     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by nh2):

 `fromIntegral` is somewhere between partial functions and `unsafeCoerce`
 on the evilness scale.

 IMO think it's time to split `fromIntegral` into `safeFromIntegral` (that
 can only cast into larger domains) and `overflowingFromIntegral`.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14262#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list