Skip to content
Snippets Groups Projects
Commit 6db73c7c authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Test reexporting locally defined exposed module.

parent 99204fa7
No related branches found
No related tags found
No related merge requests found
......@@ -209,6 +209,8 @@ extra-source-files:
tests/PackageTests/PreProcessExtraSources/my.cabal
tests/PackageTests/ReexportedModules/containers-dupe/Data/Map.hs
tests/PackageTests/ReexportedModules/containers-dupe/containers-dupe.cabal
tests/PackageTests/ReexportedModules/p/Private.hs
tests/PackageTests/ReexportedModules/p/Public.hs
tests/PackageTests/ReexportedModules/p/fail-ambiguous.cabal
tests/PackageTests/ReexportedModules/p/fail-missing.cabal
tests/PackageTests/ReexportedModules/p/fail-other.cabal
......
module Private where
modname = "Private"
module Public where
modname = "Public"
......@@ -6,8 +6,12 @@ build-type: Simple
cabal-version: >=1.21
library
exposed-modules: Public
other-modules: Private
build-depends: base, containers
reexported-modules: containers:Data.Map as DataMap,
Data.Graph,
Data.Set as Set,
containers:Data.Tree
containers:Data.Tree,
Public as Republic
-- NB: Private is not reexportable
......@@ -3,3 +3,5 @@ import DataMap
import Data.Graph
import Set
import Data.Tree
import Public
import Republic
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment