[GHC] #11091: Fix MonadFail warnings

GHC ghc-devs at haskell.org
Sat Nov 14 19:01:25 UTC 2015


#11091: Fix MonadFail warnings
-------------------------------------+-------------------------------------
           Reporter:  quchen         |             Owner:
               Type:  task           |            Status:  new
           Priority:  low            |         Milestone:  8.2.1
          Component:  Compiler       |           Version:  7.11
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 #10751 implements the MonadFail warning mechanism.

 Using `-fwarn-missing-monadfail-instance`, GHC's internal warnings created
 by the patch can be shown and fixed.

 A second pass with `-XMonadFailDesugaring` then provides a hard check on
 whether any issues remain, by switching on the new desugaring mechanism
 properly.

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


More information about the ghc-tickets mailing list