[GHC] #9788: `coerce` has an impossible type

GHC ghc-devs at haskell.org
Wed Nov 12 19:52:05 UTC 2014


#9788: `coerce` has an impossible type
-------------------------------------+-------------------------------------
              Reporter:  goldfire    |            Owner:  goldfire
                  Type:  bug         |           Status:  patch
              Priority:  highest     |        Milestone:  7.10.1
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Easy (less than 1
       Type of failure:              |  hour)
  None/Unknown                       |       Blocked By:
             Test Case:              |  Related Tickets:
              Blocking:              |
Differential Revisions:  Phab:D468   |
-------------------------------------+-------------------------------------

Comment (by Richard Eisenberg <eir@…>):

 In [changeset:"294ac47ef7aa68d09cf730c60223259893fc0933/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="294ac47ef7aa68d09cf730c60223259893fc0933"
 Fix #9788 by giving `coerce` the right type.

 No test case added, as the original mistake is just one level
 up from a typo.
 }}}

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


More information about the ghc-tickets mailing list