[GHC] #9163: Ptr should have a phantom role
GHC
ghc-devs at haskell.org
Wed Jun 11 13:31:58 UTC 2014
#9163: Ptr should have a phantom role
------------------------------------------------+--------------------------
Reporter: simonpj | Owner:
Type: bug | goldfire
Priority: normal | Status: new
Component: Compiler | Milestone:
Resolution: | Version: 7.8.2
Operating System: Unknown/Multiple | Keywords:
Type of failure: None/Unknown | Architecture:
Test Case: roles/should_compile/Roles2 | Unknown/Multiple
Blocking: | Difficulty:
| Unknown
| Blocked By:
| Related Tickets: #9164
------------------------------------------------+--------------------------
Comment (by Richard Eisenberg <eir@…>):
In [changeset:"9e6c6b4206cd893434e49cd893eb67081eeffe99/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="9e6c6b4206cd893434e49cd893eb67081eeffe99"
Make FunPtr's role be phantom; add comments.
This change also updates castFunPtr to make it free at runtime.
This fixes #9163.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9163#comment:25>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list