aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/haddock-api.cabal
diff options
context:
space:
mode:
authortomjaguarpaw <tom-github.com@jaguarpaw.co.uk>2020-12-10 18:01:41 +0000
committerGitHub <noreply@github.com>2020-12-10 19:01:41 +0100
commit7936692badfe38f23ae95b51fb7bd7c2ff7e9bce (patch)
treec158fbf692f4e7a50cc286a494068d9ebb428b5c /haddock-api/haddock-api.cabal
parentef0375d6dc3d786c48067ecd6b84a58130829acd (diff)
Enable two warnings (#1245) (#1268)
because they will be soon be added to -Wall. See https://gitlab.haskell.org/ghc/ghc/-/issues/15656
Diffstat (limited to 'haddock-api/haddock-api.cabal')
-rw-r--r--haddock-api/haddock-api.cabal3
1 files changed, 2 insertions, 1 deletions
diff --git a/haddock-api/haddock-api.cabal b/haddock-api/haddock-api.cabal
index 801fbb0f..cea9c4bd 100644
--- a/haddock-api/haddock-api.cabal
+++ b/haddock-api/haddock-api.cabal
@@ -65,7 +65,8 @@ library
hs-source-dirs: src
- ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2
+ ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -Wincomplete-uni-patterns -Wincomplete-record-updates -O2
+
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances