split condition for -Wnoncanonical-monadfail-instances.

This commit is contained in:
Kei Hibino 2020-02-15 15:07:28 +09:00
parent b532a92a63
commit 0bb166cedd
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

@ -53,7 +53,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

@ -52,7 +52,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

@ -92,7 +92,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

@ -126,7 +126,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

@ -117,7 +117,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