[GHC] #10166: GHCi: internal error: stg_ap_p_ret

GHC ghc-devs at haskell.org
Tue Mar 17 22:51:44 UTC 2015


#10166: GHCi: internal error: stg_ap_p_ret
-------------------------------------+-------------------------------------
        Reporter:  andreas.abel      |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:
       Component:  GHCi              |                 Version:  7.8.4
      Resolution:  invalid           |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Yes, there's a reason that `unsafeCoerce` is called "`unsafeCoerce`" :-).
 Renaming it to `coerce` is arguably misleading, especially since
 `Data.Coerce` exports a guaranteed-sound function `coerce`!

 Simon

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


More information about the ghc-tickets mailing list