Skip to content

Fix MonadFail warnings

When #10751 (closed) is done, GHC can be compiled with -fwarn-missing-monadfail-instance to show and then fix all the places where MonadFail would break the compiler.

A last pass with -XMonadFailDesugaring can then be used to switch MonadFail desugaring on properly, and get a hard check on whether any issues remain.

Trac metadata
Trac field Value
Version 7.11
Type Task
TypeOfFailure OtherFailure
Priority normal
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