[GHC] #8470: "Fix" spurious Unused do-bind warnings

GHC ghc-devs at haskell.org
Wed Oct 23 11:17:48 UTC 2013


#8470: "Fix" spurious Unused do-bind warnings
-------------------------------------+------------------------------------
        Reporter:  2piix             |            Owner:
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"e359a65d6171fd6ae37cef66730646bed5144041/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="e359a65d6171fd6ae37cef66730646bed5144041"
 Normalise the type when generating do-bind warnings (Trac #8470)

 This was easy to do, except that the desugar monad needs a
 FamInstEnv init.  Straightforward, routine, albeit a bit clunky.
 }}}

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


More information about the ghc-tickets mailing list