split condition for -Wnoncanonical-monadfail-instances.

This commit is contained in:
Kei Hibino 2020-02-15 15:07:28 +09:00
parent 9db3c519fb
commit 38d37ff3c6
10 changed files with 30 additions and 10 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -121,7 +121,9 @@ library
hs-source-dirs: src
ghc-options: -Wall -fsimpl-tick-factor=200
if impl(ghc >= 8)
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances
ghc-options: -Wcompat
if impl(ghc >= 8) && impl(ghc < 8.8)
ghc-options: -Wnoncanonical-monadfail-instances
default-language: Haskell2010

View File

@ -68,7 +68,9 @@ library
ghc-options: -Wall
if impl(ghc >= 8)
ghc-options: -Wcompat -Wnoncanonical-monadfail-instances
ghc-options: -Wcompat
if impl(ghc >= 8) && impl(ghc < 8.8)
ghc-options: -Wnoncanonical-monadfail-instances
default-language: Haskell2010

View File

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

View File

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

View File

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