[commit: ghc] ghc-8.0: Remove documentation for -Wlazy-unlifted-bindings (2a9fce0)
git at git.haskell.org
git at git.haskell.org
Thu Feb 18 12:03:16 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/2a9fce0eba4f0ef06de79a458bffbccc87aacac5/ghc
>---------------------------------------------------------------
commit 2a9fce0eba4f0ef06de79a458bffbccc87aacac5
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Tue Feb 16 22:45:33 2016 +0100
Remove documentation for -Wlazy-unlifted-bindings
This flag was supposed to be removed in 7.10. This finally resolves
Trac #8022.
Test Plan: Read it
Reviewers: austin
Reviewed By: austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1922
GHC Trac Issues: #8022
(cherry picked from commit ad30c760f55205174b3b3472bbcd85fc51fb65d0)
>---------------------------------------------------------------
2a9fce0eba4f0ef06de79a458bffbccc87aacac5
docs/users_guide/using-warnings.rst | 4 ----
utils/mkUserGuidePart/Options/Warnings.hs | 7 -------
2 files changed, 11 deletions(-)
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index 5727b82..e71ae92 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -371,10 +371,6 @@ of ``-W(no-)*``.
Causes a warning to be emitted if an enumeration is empty, e.g.
``[5 .. 3]``.
-.. ghc-flag:: -Wlazy-unlifted-bindings
-
- This flag is a no-op, and will be removed in GHC 7.10.
-
.. ghc-flag:: -Wduplicate-constraints
.. index::
diff --git a/utils/mkUserGuidePart/Options/Warnings.hs b/utils/mkUserGuidePart/Options/Warnings.hs
index de5e159..37597f8 100644
--- a/utils/mkUserGuidePart/Options/Warnings.hs
+++ b/utils/mkUserGuidePart/Options/Warnings.hs
@@ -117,13 +117,6 @@ warningsOptions =
, flagType = DynamicFlag
, flagReverse = "-Wno-incomplete-record-updates"
}
- , flag { flagName = "-Wlazy-unlifted-bindings"
- , flagDescription =
- "*(deprecated)* warn when a pattern binding looks lazy but "++
- "must be strict"
- , flagType = DynamicFlag
- , flagReverse = "-Wno-lazy-unlifted-bindings"
- }
, flag { flagName = "-Wmissing-fields"
, flagDescription = "warn when fields of a record are uninitialised"
, flagType = DynamicFlag
More information about the ghc-commits
mailing list