[GHC] #10823: Don't mark functions with annotations as dead

GHC ghc-devs at haskell.org
Fri Sep 4 00:28:58 UTC 2015


#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):

 It would be nice if you could just refer to `gt`-the-value from an
 annotation on `ok` to keep `gt` live (because `ok` is live), but I don't
 understand annotations enough to know whether that works or could work.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10823#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list