lib: enable doctests with GHC 9.2+ (#1503)
https://github.com/sol/doctest/issues/301 / https://github.com/sol/doctest/issues/327 seem to be specific to GHC 9.0.
This commit is contained in:
parent
75f87439e2
commit
353312e045
@ -184,7 +184,7 @@ test-suite doctest
|
|||||||
, uglymemo
|
, uglymemo
|
||||||
, unordered-containers >=0.2
|
, unordered-containers >=0.2
|
||||||
, utf8-string >=0.3.5
|
, utf8-string >=0.3.5
|
||||||
if impl(ghc >= 9.0)
|
if impl(ghc >= 9.0) && impl(ghc < 9.2)
|
||||||
buildable: False
|
buildable: False
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
|||||||
@ -164,9 +164,9 @@ tests:
|
|||||||
- doctest >=0.18.1
|
- doctest >=0.18.1
|
||||||
- Glob >=0.7
|
- Glob >=0.7
|
||||||
|
|
||||||
# disable doctest with GHC 9 for now, https://github.com/sol/doctest/issues/301
|
# disable doctest with GHC 9.0, https://github.com/sol/doctest/issues/301
|
||||||
when:
|
when:
|
||||||
- condition: impl(ghc >= 9.0)
|
- condition: impl(ghc >= 9.0) && impl(ghc < 9.2)
|
||||||
buildable: false
|
buildable: false
|
||||||
|
|
||||||
# ghc 8.4+ on mac needs this workaround. See
|
# ghc 8.4+ on mac needs this workaround. See
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user