drop -Wnoncanonical-monadfail-instances from not-library (test-suite, executabe and demos) targets.

This commit is contained in:
Kei Hibino 2019-08-11 16:51:20 +09:00
parent 653cc4e0df
commit 9db3c519fb
9 changed files with 11 additions and 11 deletions

View File

@ -68,7 +68,7 @@ test-suite nested
hs-source-dirs: test hs-source-dirs: test
ghc-options: -Wall ghc-options: -Wall
if impl(ghc >= 8) if impl(ghc >= 8)
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances ghc-options: -Wcompat
default-language: Haskell2010 default-language: Haskell2010

View File

@ -65,6 +65,6 @@ test-suite test
hs-source-dirs: test hs-source-dirs: test
ghc-options: -Wall ghc-options: -Wall
if impl(ghc >= 8) if impl(ghc >= 8)
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances ghc-options: -Wcompat
default-language: Haskell2010 default-language: Haskell2010

View File

@ -88,7 +88,7 @@ test-suite convertible-iso
hs-source-dirs: test hs-source-dirs: test
ghc-options: -Wall ghc-options: -Wall
if impl(ghc >= 8) if impl(ghc >= 8)
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances ghc-options: -Wcompat
default-language: Haskell2010 default-language: Haskell2010

View File

@ -144,7 +144,7 @@ test-suite sqls
hs-source-dirs: test hs-source-dirs: test
ghc-options: -Wall -fsimpl-tick-factor=200 ghc-options: -Wall -fsimpl-tick-factor=200
if impl(ghc >= 8) if impl(ghc >= 8)
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances ghc-options: -Wcompat
default-language: Haskell2010 default-language: Haskell2010
@ -167,7 +167,7 @@ test-suite sqlsArrow
hs-source-dirs: test hs-source-dirs: test
ghc-options: -Wall ghc-options: -Wall
if impl(ghc >= 8) if impl(ghc >= 8)
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances ghc-options: -Wcompat
default-language: Haskell2010 default-language: Haskell2010

View File

@ -90,7 +90,7 @@ executable examples
ghc-options: -Wall ghc-options: -Wall
if impl(ghc >= 8) if impl(ghc >= 8)
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances ghc-options: -Wcompat
default-language: Haskell2010 default-language: Haskell2010
@ -112,6 +112,6 @@ executable specialized-examples
ghc-options: -Wall ghc-options: -Wall
if impl(ghc >= 8) if impl(ghc >= 8)
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances ghc-options: -Wcompat
default-language: Haskell2010 default-language: Haskell2010

View File

@ -34,7 +34,7 @@ library
hs-source-dirs: src hs-source-dirs: src
ghc-options: -Wall ghc-options: -Wall
if impl(ghc >= 8) if impl(ghc >= 8)
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances ghc-options: -Wcompat
default-language: Haskell2010 default-language: Haskell2010

View File

@ -40,6 +40,6 @@ library
hs-source-dirs: src hs-source-dirs: src
ghc-options: -Wall ghc-options: -Wall
if impl(ghc >= 8) if impl(ghc >= 8)
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances ghc-options: -Wcompat
default-language: Haskell2010 default-language: Haskell2010

View File

@ -52,7 +52,7 @@ test-suite monoids
hs-source-dirs: test hs-source-dirs: test
ghc-options: -Wall ghc-options: -Wall
if impl(ghc >= 8) if impl(ghc >= 8)
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances ghc-options: -Wcompat
default-language: Haskell2010 default-language: Haskell2010

View File

@ -53,6 +53,6 @@ test-suite test-prop
hs-source-dirs: test hs-source-dirs: test
ghc-options: -Wall ghc-options: -Wall
if impl(ghc >= 8) if impl(ghc >= 8)
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances ghc-options: -Wcompat
default-language: Haskell2010 default-language: Haskell2010