diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2016-02-27 23:36:11 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2016-02-27 23:45:35 +0100 |
commit | 46f3775c683faeb710c9dc22f360f39334947d73 (patch) | |
tree | c365cd820603f01c4b97392fe3824e014160d5a6 /testsuite/tests/ghc-api | |
parent | 3cd4c9ca4564982cf159f11f59d434235ba28808 (diff) | |
download | haskell-46f3775c683faeb710c9dc22f360f39334947d73.tar.gz |
Default to -fno-show-warning-groups (re #10752)
As `-fno-show-warning-groups` shows associated warning groups regardless
of whether the respective warning group flag as been passed on the CLI,
the warning-group information may be confusing to users.
At this point, `-fshow-warning-groups` is useful mostly to GHC
developers and possibly GHC users who want to see which warning groups
an emitted warning is part of. (Btw, this is particularly interesting in
combination with `-Weverything` which enables *every* warning flag known
to GHC.)
Consequently, starting with this commit, one has to opt-in via
`-fshow-warning-groups` for GHC to show warning groups.
In order to reduce the testsuite delta in this commit, the
`-fshow-warning-groups` flag has been added to TEST_HC_OPTS.
Diffstat (limited to 'testsuite/tests/ghc-api')
-rw-r--r-- | testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr b/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr index a943e48a3b..80b94dca4b 100644 --- a/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr +++ b/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr @@ -1,9 +1,9 @@ -B.hs:4:1: warning: [-Wmissing-signatures (in -Wall)] +B.hs:4:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: answer_to_live_the_universe_and_everything :: Int -B.hs:5:12: warning: [-Wtype-defaults (in -Wall)] +B.hs:5:12: warning: [-Wtype-defaults] • Defaulting the following constraints to type ‘Integer’ (Enum a0) arising from the arithmetic sequence ‘1 .. 23 * 2’ at B.hs:5:12-20 @@ -12,14 +12,14 @@ B.hs:5:12: warning: [-Wtype-defaults (in -Wall)] In the first argument of ‘(-)’, namely ‘length [1 .. 23 * 2]’ In the expression: length [1 .. 23 * 2] - 4 -A.hs:7:1: warning: [-Wmissing-signatures (in -Wall)] +A.hs:7:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: main :: IO () -B.hs:4:1: warning: [-Wmissing-signatures (in -Wall)] +B.hs:4:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: answer_to_live_the_universe_and_everything :: Int -B.hs:5:12: warning: [-Wtype-defaults (in -Wall)] +B.hs:5:12: warning: [-Wtype-defaults] • Defaulting the following constraints to type ‘Integer’ (Enum a0) arising from the arithmetic sequence ‘1 .. 23 * 2’ at B.hs:5:12-20 @@ -28,5 +28,5 @@ B.hs:5:12: warning: [-Wtype-defaults (in -Wall)] In the first argument of ‘(-)’, namely ‘length [1 .. 23 * 2]’ In the expression: length [1 .. 23 * 2] - 4 -A.hs:7:1: warning: [-Wmissing-signatures (in -Wall)] +A.hs:7:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: main :: IO () |