[GHC] #11437: Don't put static (version-based) feature gates in compilerInfo
GHC
ghc-devs at haskell.org
Fri Jan 15 18:17:25 UTC 2016
#11437: Don't put static (version-based) feature gates in compilerInfo
-------------------------------------+-------------------------------------
Reporter: ezyang | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.11
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11437>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list