
#15653: Both `Ptr a` in SerializedCompact are inaccurate because of the `a` -------------------------------------+------------------------------------- Reporter: chessai | Owner: ezyang Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: | Version: 8.4.3 libraries/compact | Keywords: ghc-compact, Resolution: | compact regions Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect API | Unknown/Multiple annotation | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): I think it would be quite reasonable to fix this. In my view we should try quite hard to ensure unsafe interfaces like that of `Ptr` are made as safe as possible. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15653#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler