[commit: ghc] master: Support for "with" renaming syntax, and output a feature flag. (7c748d9)
git at git.haskell.org
git at git.haskell.org
Wed Nov 19 02:18:19 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/7c748d9fcf12bd16e0de56187fa6fcf3d6dbf39a/ghc
>---------------------------------------------------------------
commit 7c748d9fcf12bd16e0de56187fa6fcf3d6dbf39a
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date: Mon Aug 11 18:40:13 2014 +0100
Support for "with" renaming syntax, and output a feature flag.
Summary:
- Feature flag indicates to Cabal that we support thinning and renaming as
it needs.
- Support -package "base with (Foo as Bar)" which brings the ordinary
modules into scope, as well as adding the renamings to scope.
Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
Test Plan: validate
Reviewers: simonpj, austin
Subscribers: thomie, carter
Differential Revision: https://phabricator.haskell.org/D485
>---------------------------------------------------------------
7c748d9fcf12bd16e0de56187fa6fcf3d6dbf39a
compiler/main/DynFlags.hs | 24 ++++++++++++++----------
compiler/main/Packages.lhs | 18 ++++++------------
docs/users_guide/packages.xml | 15 ++++++++-------
testsuite/tests/ghc-api/T9595.hs | 5 ++++-
4 files changed, 32 insertions(+), 30 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 7c748d9fcf12bd16e0de56187fa6fcf3d6dbf39a
More information about the ghc-commits
mailing list