
#13148: Adding weak pointers to non-mutable unboxed values segfaults -------------------------------------+------------------------------------- Reporter: mboes | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by rwbarton):
Is the rule that the first argument to this function is valid iff it is of unlifted (primitive) type? If so, I think it would be useful to document that there.
I think the rule is probably that the argument must be of boxed type. Surely it must be necessary; not sure whether it is also sufficient. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13148#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler