Skip to content

Don't put static (version-based) feature gates in compilerInfo

It started when someone added ("Support parallel --make", "YES"),, and then ballooned to a bit more when I added a few more feature gates. I think it's probably wrong for GHC to put feature gates in this structure which are always on or off; Cabal can just version test GHC for appropriate information. (The one benefit of using a feature gate is when you're running a development version of GHC and Cabal, and there is a breakpoint without a version change when a feature is supported).

If people agree, we should remove these, and change Cabal to version test to determine if these features are available.

Trac metadata
Trac field Value
Version 7.11
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information