diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2016-02-29 12:28:49 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-02-29 13:43:00 +0100 |
commit | 2e49a31658afb4f730fcfec69edfc9e785af71f4 (patch) | |
tree | 714d068e1de4c72731d4edee681f809fae2f4ea3 /testsuite/tests/warnings | |
parent | 16e97c16851ccb74e9137d71f9a5c9d5971baf77 (diff) | |
download | haskell-2e49a31658afb4f730fcfec69edfc9e785af71f4.tar.gz |
DynFlags: Add -Wredundant-constraints to -Wall
Test Plan: It works, I promise.
Reviewers: austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1956
GHC Trac Issues: #11370
Diffstat (limited to 'testsuite/tests/warnings')
-rw-r--r-- | testsuite/tests/warnings/should_compile/PluralS.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/warnings/should_compile/PluralS.stderr b/testsuite/tests/warnings/should_compile/PluralS.stderr index 9289a0ba9a..4cffc15a1f 100644 --- a/testsuite/tests/warnings/should_compile/PluralS.stderr +++ b/testsuite/tests/warnings/should_compile/PluralS.stderr @@ -15,12 +15,12 @@ PluralS.hs:17:29: warning: [-Wtype-defaults (in -Wall)] In an equation for ‘defaultingNumAndShow’: defaultingNumAndShow = show 123 -PluralS.hs:23:1: warning: [-Wredundant-constraints] +PluralS.hs:23:1: warning: [-Wredundant-constraints (in -Wall)] • Redundant constraint: Num a • In the type signature for: redundantNum :: (Num a, Num a) => a -PluralS.hs:26:1: warning: [-Wredundant-constraints] +PluralS.hs:26:1: warning: [-Wredundant-constraints (in -Wall)] • Redundant constraints: (Show a, Num a, Eq a, Eq a) • In the type signature for: redundantMultiple :: (Num a, Show a, Num a, Eq a, Eq a) => a |