[commit: ghc] master: document: fix trac issue #14229 (c16df60)
git at git.haskell.org
git at git.haskell.org
Sun Mar 25 19:04:09 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/c16df6061abd33c67797b1cd676a980457f52533/ghc
>---------------------------------------------------------------
commit c16df6061abd33c67797b1cd676a980457f52533
Author: Võ Anh Duy <voanhduy1512 at live.com>
Date: Sun Mar 25 14:06:11 2018 -0400
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
>---------------------------------------------------------------
c16df6061abd33c67797b1cd676a980457f52533
docs/users_guide/using-warnings.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index aeb402d..b72ae42 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
More information about the ghc-commits
mailing list