[commit: ghc] wip/T12618: Temporarily disable rule shadowing warnings (f0b1873)

git at git.haskell.org git at git.haskell.org
Mon Oct 10 21:43:04 UTC 2016


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

On branch  : wip/T12618
Link       : http://ghc.haskell.org/trac/ghc/changeset/f0b187303fad8c36df615bc835752b5a16202831/ghc

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

commit f0b187303fad8c36df615bc835752b5a16202831
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Fri Oct 7 15:21:35 2016 -0400

    Temporarily disable rule shadowing warnings
    
    Until https://ghc.haskell.org/trac/ghc/ticket/12618#comment:25 is
    resolved.


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

f0b187303fad8c36df615bc835752b5a16202831
 mk/warnings.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mk/warnings.mk b/mk/warnings.mk
index 5ca097f..8e8b68d 100644
--- a/mk/warnings.mk
+++ b/mk/warnings.mk
@@ -41,6 +41,8 @@ endif
 SRC_HC_WARNING_OPTS_STAGE1 += -Wnoncanonical-monad-instances
 SRC_HC_WARNING_OPTS_STAGE2 += -Wnoncanonical-monad-instances
 
+# TODO #12618 see https://ghc.haskell.org/trac/ghc/ticket/12618#comment:25
+SRC_HC_WARNING_OPTS += -fno-warn-inline-rule-shadowing
 
 ######################################################################
 # Disable some warnings in packages we use



More information about the ghc-commits mailing list