
#10970: Built in MIN_VERSION macro support -------------------------------------+------------------------------------- Reporter: ezyang | Owner: Type: feature request | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1349, Wiki Page: | Phab:D1869 -------------------------------------+------------------------------------- Comment (by hvr): Replying to [comment:7 rwbarton]:
Cabal builds with `-hide-all-packages` anyways, so this is no behavior change compared to what's currently implemented when building with Cabal.
minor nitpick: This claim does not apply to `Setup.hs` unless a `custom- setup` section exists (and is understood by Cabal). However, things are becoming way more "interesting" for `Setup.hs` starting with GHC 8 & Cabal 1.24 & Stack ;-) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10970#comment:16 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler