Skip to content

Add support for module-level -Werror

Fredrik Wieczerkowski requested to merge module-level-werror into master

Fixes #144 (closed)

This 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.

Merge request reports

Loading