From c16df6061abd33c67797b1cd676a980457f52533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=B5=20Anh=20Duy?= Date: Sun, 25 Mar 2018 14:06:11 -0400 Subject: 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 --- docs/users_guide/using-warnings.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/users_guide') 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 -- cgit v1.2.1