[commit: ghc] master: Flag `-fdefer-typed-holes` also implies `-fdefer-out-of-scope-variables`. (e31b41b)

git at git.haskell.org git at git.haskell.org
Sat Feb 3 00:56:32 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/e31b41bd6abbf08b1463f4ea08c50e8059f06263/ghc

>---------------------------------------------------------------

commit e31b41bd6abbf08b1463f4ea08c50e8059f06263
Author: HE, Tao <sighingnow at gmail.com>
Date:   Thu Feb 1 00:30:04 2018 -0500

    Flag `-fdefer-typed-holes` also implies `-fdefer-out-of-scope-variables`.
    
    Reviewers: bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie, carter
    
    Differential Revision: https://phabricator.haskell.org/D4361


>---------------------------------------------------------------

e31b41bd6abbf08b1463f4ea08c50e8059f06263
 docs/users_guide/using-warnings.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index bd3c41d..8106003 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -239,7 +239,7 @@ of ``-W(no-)*``.
     :reverse: -fno-defer-type-errors
     :category:
 
-    :implies: :ghc-flag:`-fdefer-typed-holes`
+    :implies: :ghc-flag:`-fdefer-typed-holes`, :ghc-flag:`-fdefer-out-of-scope-variables`
 
     Defer as many type errors as possible until runtime. At compile time
     you get a warning (instead of an error). At runtime, if you use a



More information about the ghc-commits mailing list