[GHC] #10970: Built in MIN_VERSION macro support

GHC ghc-devs at haskell.org
Wed Mar 30 20:46:52 UTC 2016


#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 Ben Gamari <ben@…>):

 In [changeset:"e9c2555ac666912f7dff56448ced4bfa06d14e76/ghc" e9c2555/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="e9c2555ac666912f7dff56448ced4bfa06d14e76"
 Don't require -hide-all-packages for MIN_VERSION_* macros

 Define MIN_VERSION_pkgname and VERSION_pkgname macros for all exposed
 packages, without requiring -hide-all-packages.

 See #10970 comment 7-10 for discussion.

 Reviewers: duncan, ezyang, bgamari, austin

 Reviewed By: ezyang

 Subscribers: hvr, rwbarton

 Differential Revision: https://phabricator.haskell.org/D1869

 GHC Trac Issues: #10970
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10970#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list