Add support for module-level -Werror
#144 (closed)
FixesThis makes it possible to set -Werror
on a module-by-module basis from a pragma, i.e.
{-# OPTIONS_FRONTEND -Werror #-}
module ModuleLevelWerror where
f = "No type signature"
will now error as expected. I have added a test to confirm this.