[GHC] #8281: The impossible happened: primRepToFFIType

GHC ghc-devs at haskell.org
Mon Mar 13 16:30:06 UTC 2017


#8281: The impossible happened: primRepToFFIType
-------------------------------------+-------------------------------------
        Reporter:  tibbe             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  7.6.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 No, it doesn't apply to `foreign import prim`.  Think of `foreign import
 prim` as declaring a primop: in principle we could implement all our
 primops using `foreign import prim` (except that we want to optimise by
 generating code directly for some of them).

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


More information about the ghc-tickets mailing list