Open
Description
If I have
packages: indexed-traversable
packages: indexed-traversable-instances
if impl(ghc <9.12)
tests: False
packages: indexed-traversable-benchmarks
tests: True
benchmarks: True
it seems that with GHC-9.10 (i.e. when conditional is true), the tests are turned off, even lexically tests: True
comes later.
This is consistent with how conditionals work in .cabal
files (conditional sections processed as if they appear last), but it's undocumented in https://cabal.readthedocs.io/en/3.12/cabal-project-description-file.html#conditionals-and-imports so I report this as a bug.