diff options
-rw-r--r-- | compiler/main/DynFlags.hs | 1 | ||||
-rw-r--r-- | testsuite/tests/typecheck/should_compile/all.T | 4 | ||||
-rw-r--r-- | testsuite/tests/typecheck/should_compile/tc056.stderr | 4 |
3 files changed, 2 insertions, 7 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index ea0bc53343..79406a71cc 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -3474,7 +3474,6 @@ standardWarnings -- see Note [Documenting warning flags] Opt_WarnTypedHoles, Opt_WarnPartialTypeSignatures, Opt_WarnUnrecognisedPragmas, - Opt_WarnRedundantConstraints, Opt_WarnDuplicateExports, Opt_WarnOverflowedLiterals, Opt_WarnEmptyEnumerations, diff --git a/testsuite/tests/typecheck/should_compile/all.T b/testsuite/tests/typecheck/should_compile/all.T index 7d7ec6057c..eb4f1fb1b9 100644 --- a/testsuite/tests/typecheck/should_compile/all.T +++ b/testsuite/tests/typecheck/should_compile/all.T @@ -442,7 +442,7 @@ test('T9497c', normal, compile, ['-fdefer-type-errors -fno-warn-typed-holes']) test('T7643', normal, compile, ['']) test('T9834', normal, compile, ['']) test('T9892', normal, compile, ['']) -test('T9939', normal, compile, ['']) +test('T9939', normal, compile, ['-Wredundant-constraints']) test('T9973', normal, compile, ['']) test('T9971', normal, compile, ['']) test('T10031', normal, compile, ['']) @@ -475,7 +475,7 @@ test('T10564', normal, compile, ['']) test('Vta1', normal, compile, ['']) test('Vta2', normal, compile, ['']) test('PushHRIf', normal, compile, ['']) -test('T10632', normal, compile, ['']) +test('T10632', normal, compile, ['-Wredundant-constraints']) test('T10642', normal, compile, ['']) test('T10744', normal, compile, ['']) test('update-existential', normal, compile, ['']) diff --git a/testsuite/tests/typecheck/should_compile/tc056.stderr b/testsuite/tests/typecheck/should_compile/tc056.stderr index a6f7cd4450..e69de29bb2 100644 --- a/testsuite/tests/typecheck/should_compile/tc056.stderr +++ b/testsuite/tests/typecheck/should_compile/tc056.stderr @@ -1,4 +0,0 @@ - -tc056.hs:16:10: Warning: - Redundant constraints: (Eq' a, Eq' a) - In the instance declaration for ‘Eq' [a]’ |