Skip to content

Commit 343b524

Browse files
authored
Merge pull request #6842 from phadej/test-6038
Add test for #6038
2 parents b83e0c9 + 18aa52b commit 343b524

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

cabal-testsuite/PackageTests/MultipleLibraries/Successful/cabal.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Build profile: -w ghc-<GHCVER> -O1
44
In order, the following will be built:
55
- pkg-def-0.1.0.0 (lib:publib) (first run)
66
- pkg-abc-0.1.0.0 (exe:program) (first run)
7-
Warning: pkg-def.cabal:13:27: visibility is experimental feature (issue #5660)
7+
Warning: pkg-def.cabal:10:27: visibility is experimental feature (issue #5660)
88
Configuring library 'publib' for pkg-def-0.1.0.0..
99
Preprocessing library 'publib' for pkg-def-0.1.0.0..
1010
Building library 'publib' for pkg-def-0.1.0.0..

cabal-testsuite/PackageTests/MultipleLibraries/Successful/pkg-def/pkg-def.cabal

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ cabal-version: 3.0
22
name: pkg-def
33
version: 0.1.0.0
44

5-
library
6-
default-language: Haskell2010
7-
hs-source-dirs: src
8-
build-depends: base
9-
exposed-modules: PkgDef
5+
-- there was public library. But we shouldn't need one.
6+
-- https://github.com/haskell/cabal/issues/6038
107

118
library publib
129
default-language: Haskell2010

0 commit comments

Comments
 (0)