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

document: fix trac issue #14229

Accroding to
https://git.haskell.org/ghc.git/commitdiff/49672659113371c3bee691e6d913d
f8e6f60a1d8,
`-Wredundant-constraints` is no longer turn on by default.

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4528
parent fb462f94
......@@ -685,8 +685,8 @@ of ``-W(no-)*``.
Similar warnings are given for a redundant constraint in an instance
declaration.
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