
#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 rwbarton): I don't really understand why "Don't mark functions with annotations as dead" is sensible behavior, given the totally general-purpose nature of annotations. For example if I used a plugin that uses annotations in one of the ways mentioned on the Wiki page * Store extra information relevant to a plugin but which is added by that plugin itself, such as a strictness analysis plugin that adds a demand signature to functions, which can be inspected later on by the same plugin when it comes to compile modules that depend on that one I wouldn't expect or want every function to be kept live as a side effect. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10823#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler