
#10823: Don't mark functions with annotations as dead -------------------------------------+------------------------------------- Reporter: spinda | Owner: Type: feature request | Status: new Priority: normal | Milestone: 7.12.1 Component: Template Haskell | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by simonpj): Perhaps if we had a library type {{{ data KeepAlive = KeepAlive }}} then you could add a `KeepAlive` annotation {{{ {-# ANN thing KeepAlive #-} }}} with the intent that anything with a `KeepAlive` annotation (rather than with ''any'' annotation) is kept alive -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10823#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler