Commit c16df606 authored by voanhduy1512's avatar voanhduy1512 Committed by Ben Gamari
Browse files

document: fix trac issue #14229

Accroding to
`-Wredundant-constraints` is no longer turn on by default.

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

Differential Revision:
parent fb462f94
......@@ -685,8 +685,8 @@ of ``-W(no-)*``.
Similar warnings are given for a redundant constraint in an instance
This option is on by default. As usual you can suppress it on a
per-module basis with :ghc-flag:`-Wno-redundant-constraints <-Wredundant-constraints>`.
When turning on, you can suppress it on a per-module basis with
:ghc-flag:`-Wno-redundant-constraints <-Wredundant-constraints>`.
Occasionally you may specifically want a function to have a more
constrained signature than necessary, perhaps to leave yourself
wiggle-room for changing the implementation without changing the
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment