[GHC] #9163: Ptr should have a phantom role

GHC ghc-devs at haskell.org
Fri Jul 6 15:07:26 UTC 2018


#9163: Ptr should have a phantom role
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  7.10.1
       Component:  Compiler          |              Version:  7.8.2
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  roles/should_compile/Roles2
      Blocked By:                    |             Blocking:
 Related Tickets:  #9164             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dominic):

 {{{
 *Numeric.Sundials.CVode.ODE> (coerce ((V.fromList [1,2]) :: Vector CInt))
 :: Vector Int
 [8589934593,4426664329]
 }}}

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


More information about the ghc-tickets mailing list