Skip to content

Fix MonadFail warnings

#10751 (closed) 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.

Trac metadata
Trac field Value
Version 7.11
Type Task
TypeOfFailure OtherFailure
Priority low
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy #10751 (closed)
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information