Describe the bug
We run quickjobs with one version of GHC:
|
GHC_FOR_QUICK_JOBS: 9.10.3 |
I tested doctests with later versions and running doctests on Cabal fails with:
Can't parse reexported module flag: Language.Haskell.Extension\ as\ Language.Haskell.Extension
To Reproduce
$ make doctest-install
cabal install doctest --overwrite-policy=always --ignore-project --flag cabal-doctest
...
$ doctest --version
doctest version 0.24.3
using version 9.12.2 of the GHC API
$ cd Cabal
$ cabal doctest --allow-newer=False
doctest version 0.24.3
using version 9.12.2 of the GHC API
...
Preprocessing library for Cabal-3.17.0.0...
doctest-0.24.3: Uncaught exception ghc-9.12.2-9b33:GHC.Utils.Panic.GhcException:
Can't parse reexported module flag: Language.Haskell.Extension\ as\ Language.Haskell.Extension
While handling Can't parse reexported module flag: Language.Haskell.Extension\ as\ Language.Haskell.Extension
HasCallStack backtrace:
throwIO, called at src/Run.hs:152:12 in doctest-0.24.3-bfacc00613da87380f139bf815745504e2634b62b9154c5a8f287d9e3e0f1020:Run
Expected behavior
That we could run make doctest with ghc-9.12.2.
System information
Ubuntu 25.10, ghc-9.12.2, cabal-3.16.1.0
Describe the bug
We run quickjobs with one version of GHC:
cabal/.github/workflows/quick-jobs.yml
Line 18 in fb32f3d
I tested doctests with later versions and running doctests on
Cabalfails with:To Reproduce
Expected behavior
That we could run
make doctestwithghc-9.12.2.System information
Ubuntu 25.10, ghc-9.12.2, cabal-3.16.1.0