diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2015-11-18 12:19:01 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-11-18 12:53:42 +0100 |
commit | f405e1e75cd845c436e51c934958560c0e401248 (patch) | |
tree | 09f0d76706ca271f02b0701305f35c45cdb8aa9c /testsuite | |
parent | 11e336e4a4f7a0c0319d9bfb1a6931a5861299cf (diff) | |
download | haskell-f405e1e75cd845c436e51c934958560c0e401248.tar.gz |
Disable failed specialisation warnings by default & update documentation.
These were far too noisy to enable by default. In the future we will
hopefully have a more variant of -Wall targetted at these sorts of
diagnostics.
In the interim I've pointed out the existence of these options in the
release
notes in hopes that people will discover them.
Test Plan: Validate
Reviewers: hvr, austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1492
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/ghci/scripts/T9293.stdout | 4 | ||||
-rw-r--r-- | testsuite/tests/ghci/scripts/ghci024.stdout | 1 | ||||
-rw-r--r-- | testsuite/tests/ghci/scripts/ghci057.stdout | 4 |
3 files changed, 0 insertions, 9 deletions
diff --git a/testsuite/tests/ghci/scripts/T9293.stdout b/testsuite/tests/ghci/scripts/T9293.stdout index 1dc12f1eb0..67fc63058e 100644 --- a/testsuite/tests/ghci/scripts/T9293.stdout +++ b/testsuite/tests/ghci/scripts/T9293.stdout @@ -8,7 +8,6 @@ other dynamic, non-language, flag settings: -fno-ghci-history -fimplicit-import-qualified warning settings: - -fno-warn-missed-specialisations Should fail, GADTs is not enabled options currently set: none. base language is: Haskell2010 @@ -23,7 +22,6 @@ other dynamic, non-language, flag settings: -fno-ghci-history -fimplicit-import-qualified warning settings: - -fno-warn-missed-specialisations Should work, GADTs is in force from :set options currently set: none. base language is: Haskell2010 @@ -37,7 +35,6 @@ other dynamic, non-language, flag settings: -fno-ghci-history -fimplicit-import-qualified warning settings: - -fno-warn-missed-specialisations Should fail, GADTs is now disabled base language is: Haskell2010 with the following modifiers: @@ -53,6 +50,5 @@ other dynamic, non-language, flag settings: -fno-ghci-history -fimplicit-import-qualified warning settings: - -fno-warn-missed-specialisations Should fail, GADTs is only enabled at the prompt C :: T Int diff --git a/testsuite/tests/ghci/scripts/ghci024.stdout b/testsuite/tests/ghci/scripts/ghci024.stdout index 084f1ff685..1624322d14 100644 --- a/testsuite/tests/ghci/scripts/ghci024.stdout +++ b/testsuite/tests/ghci/scripts/ghci024.stdout @@ -9,7 +9,6 @@ other dynamic, non-language, flag settings: -fforce-recomp -fimplicit-import-qualified warning settings: - -fno-warn-missed-specialisations -fno-warn-tabs ~~~~~~~~~~ Testing :set -a options currently set: none. diff --git a/testsuite/tests/ghci/scripts/ghci057.stdout b/testsuite/tests/ghci/scripts/ghci057.stdout index 1dc12f1eb0..67fc63058e 100644 --- a/testsuite/tests/ghci/scripts/ghci057.stdout +++ b/testsuite/tests/ghci/scripts/ghci057.stdout @@ -8,7 +8,6 @@ other dynamic, non-language, flag settings: -fno-ghci-history -fimplicit-import-qualified warning settings: - -fno-warn-missed-specialisations Should fail, GADTs is not enabled options currently set: none. base language is: Haskell2010 @@ -23,7 +22,6 @@ other dynamic, non-language, flag settings: -fno-ghci-history -fimplicit-import-qualified warning settings: - -fno-warn-missed-specialisations Should work, GADTs is in force from :set options currently set: none. base language is: Haskell2010 @@ -37,7 +35,6 @@ other dynamic, non-language, flag settings: -fno-ghci-history -fimplicit-import-qualified warning settings: - -fno-warn-missed-specialisations Should fail, GADTs is now disabled base language is: Haskell2010 with the following modifiers: @@ -53,6 +50,5 @@ other dynamic, non-language, flag settings: -fno-ghci-history -fimplicit-import-qualified warning settings: - -fno-warn-missed-specialisations Should fail, GADTs is only enabled at the prompt C :: T Int |