Commit f9e17fd7 authored by Ben Gamari's avatar Ben Gamari 🐢

Add -fwarn-missing-monadfail-instance to mkUserGuidePart

parent f405e1e7
......@@ -145,6 +145,13 @@ warningsOptions =
, flagType = DynamicFlag
, flagReverse = "-fno-warn-missing-local-sigs"
}
, flag { flagName = "-fwarn-missing-monadfail-instance"
, flagDescription =
"warn when a failable pattern is used in a do-block that does not "++
"have a ``MonadFail`` instance."
, flagType = DynamicFlag
, flagReverse = "-fno-warn-missing-monadfail-instance"
}
, flag { flagName = "-fwarn-missed-specialisations"
, flagDescription =
"warn when specialisation of an imported, overloaded function fails."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment