summaryrefslogtreecommitdiff
path: root/utils/ghc-cabal/ghc-cabal.cabal
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2014-07-04 17:01:08 +0100
committerEdward Z. Yang <ezyang@cs.stanford.edu>2014-07-25 17:59:55 -0700
commit7f5c10864e7c26b90c7ff4ed09d00c8a09aa4349 (patch)
tree45cc2f6c46f9cf583c8aeb7b324933d65586c1d5 /utils/ghc-cabal/ghc-cabal.cabal
parentdae46da7de4d8c7104aea1be48586336bbd486ca (diff)
downloadhaskell-7f5c10864e7c26b90c7ff4ed09d00c8a09aa4349.tar.gz
Module reexports, fixing #8407.
The general approach is to add a new field to the package database, reexported-modules, which considered by the module finder as possible module declarations. Unlike declaring stub module files, multiple reexports of the same physical package at the same name do not result in an ambiguous import. Has submodule updates for Cabal and haddock. NB: When a reexport renames a module, that renaming is *not* accessible from inside the package. This is not so much a deliberate design choice as for implementation expediency (reexport resolution happens only when a package is in the package database.) TODO: Error handling when there are duplicate reexports/etc is not very well tested. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Conflicts: compiler/main/HscTypes.lhs testsuite/.gitignore utils/haddock
Diffstat (limited to 'utils/ghc-cabal/ghc-cabal.cabal')
-rw-r--r--utils/ghc-cabal/ghc-cabal.cabal3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/ghc-cabal/ghc-cabal.cabal b/utils/ghc-cabal/ghc-cabal.cabal
index 5437d63bb2..2641f19568 100644
--- a/utils/ghc-cabal/ghc-cabal.cabal
+++ b/utils/ghc-cabal/ghc-cabal.cabal
@@ -6,8 +6,7 @@ License: BSD3
Author: XXX
Maintainer: XXX
Synopsis: XXX
-Description:
- XXX
+Description: XXX
Category: Development
build-type: Simple
cabal-version: >=1.10