Skip to content

Move warning flag handling into Flags module

Sylvain Henry requested to merge hsyl20/ghc:hsyl20/dynflags/logger into master
I need this to make the Logger independent of DynFlags.

Also fix copy-paste errors: Opt_WarnNonCanonicalMonadInstances
was associated to "noncanonical-monadfail-instances" (MonadFailInstances vs

In the process I've also made the default name for each flag more

This is preliminary work for #19877 (closed) (making systools independent of DynFlags).

Merge request reports