-
Notifications
You must be signed in to change notification settings - Fork 704
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark public libs as an experimental feature
- Loading branch information
Showing
9 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
Cabal/tests/ParserTests/regressions/public-multilib-1.cabal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
cabal-version: 3.0 | ||
name: public-multilib1 | ||
version: 0 | ||
synopsis: public-multilibs are not polished enough for Hackage | ||
category: Tests | ||
license: MIT | ||
|
||
library | ||
default-language: Haskell2010 | ||
build-depends: base ^>=4.14, internal | ||
exposed-modules: Foo | ||
|
||
library internal | ||
default-language: Haskell2010 | ||
build-depends: base ^>=4.14 | ||
visibility: public | ||
exposed-modules: Bar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
public-multilib-1.cabal:16:27: visibility is experimental feature (issue #5660) | ||
No 'maintainer' field. | ||
No 'description' field. |
14 changes: 14 additions & 0 deletions
14
Cabal/tests/ParserTests/regressions/public-multilib-2.cabal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
cabal-version: 3.0 | ||
name: public-multilib1 | ||
version: 0 | ||
synopsis: public-multilibs are not polished enough for Hackage | ||
category: Tests | ||
license: MIT | ||
|
||
library | ||
default-language: Haskell2010 | ||
build-depends: | ||
, base ^>=4.14 | ||
, somelib:internal | ||
|
||
exposed-modules: Foo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
public-multilib-2.cabal:12:15: colon specifier is experimental feature (issue #5660) | ||
No 'maintainer' field. | ||
No 'description' field. |