diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2018-05-03 12:50:25 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-05-03 15:01:17 -0400 |
commit | 79c4f10e4928c37bf4bbad974be0bd693df2d2b9 (patch) | |
tree | 339492786bf29dc597f9d514001ac76663164192 | |
parent | 6462d90d01bcb07b8bff63689e8f2c8c20044952 (diff) | |
download | haskell-79c4f10e4928c37bf4bbad974be0bd693df2d2b9.tar.gz |
Enable warning flags to safe-guard against regressions in `base`
Test Plan: via CI
Reviewers: bgamari
Subscribers: dfeuer, thomie, carter
Differential Revision: https://phabricator.haskell.org/D4640
-rw-r--r-- | libraries/base/base.cabal | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/base/base.cabal b/libraries/base/base.cabal index 6da95b070f..905bc49471 100644 --- a/libraries/base/base.cabal +++ b/libraries/base/base.cabal @@ -398,3 +398,6 @@ Library -- We need to set the unit id to base (without a version number) -- as it's magic. ghc-options: -this-unit-id base + + -- Make sure we don't accidentally regress into anti-patterns + ghc-options: -Wcompat -Wnoncanonical-monad-instances |