diff options
author | Võ Anh Duy <voanhduy1512@live.com> | 2018-03-25 14:06:11 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-03-25 14:33:27 -0400 |
commit | c16df6061abd33c67797b1cd676a980457f52533 (patch) | |
tree | 0cbf22fbe7a247db8eb663c67d304946cb5acdbc /docs/users_guide | |
parent | fb462f948b4a10406fab84fd5878149c11aafe8a (diff) | |
download | haskell-c16df6061abd33c67797b1cd676a980457f52533.tar.gz |
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
Diffstat (limited to 'docs/users_guide')
-rw-r--r-- | docs/users_guide/using-warnings.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst index aeb402d7ce..b72ae4250b 100644 --- a/docs/users_guide/using-warnings.rst +++ b/docs/users_guide/using-warnings.rst @@ -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 |