[GHC] #12920: Overzealous unused-top-binds

GHC ghc-devs at haskell.org
Mon Dec 5 09:57:37 UTC 2016


#12920: Overzealous unused-top-binds
-------------------------------------+-------------------------------------
        Reporter:  crockeea          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2-rc1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  error/warning at compile-time      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Yes, that does look inconsistent; I'm not sure why.

 > This definition would be exceedingly useful for removing dead code, but
 it also produces very noisy output when there is a lot of dead code.

 Yes, this is a tension, but I don't know how to resolve it. Until now we
 have done the transitive thing, but mostly I think that the non-transitive
 version might be better.

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


More information about the ghc-tickets mailing list