Skip to content

Commit 0cdca20

Browse files
committed
Remove "colon specifier is experimental feature"
Same for "visibility is experimental feature" With #7270 fixed, it's time to allow hackage uploads Closes #6801
1 parent 6adea7a commit 0cdca20

File tree

20 files changed

+2
-32
lines changed

20 files changed

+2
-32
lines changed

Cabal-syntax/src/Distribution/Types/Dependency.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ instance Parsec Dependency where
145145
libs <- option mainLibSet $ do
146146
_ <- char ':'
147147
versionGuardMultilibs
148-
parsecWarning PWTExperimental "colon specifier is experimental feature (issue #5660)"
149148
NES.singleton <$> parseLib <|> parseMultipleLibs
150149

151150
spaces -- https://github.com/haskell/cabal/issues/5846

Cabal-syntax/src/Distribution/Types/LibraryVisibility.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ instance Pretty LibraryVisibility where
3333
instance Parsec LibraryVisibility where
3434
parsec = do
3535
name <- P.munch1 isAlpha
36-
parsecWarning PWTExperimental "visibility is experimental feature (issue #5660)"
3736
case name of
3837
"public" -> return LibraryVisibilityPublic
3938
"private" -> return LibraryVisibilityPrivate

Cabal-syntax/src/Distribution/Types/Mixin.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ instance Parsec Mixin where
6363
ln <- P.option LMainLibName $ do
6464
_ <- P.char ':'
6565
versionGuardMultilibs
66-
parsecWarning PWTExperimental "colon specifier is experimental feature (issue #5660)"
6766
LSubLibName <$> parsec
6867
P.spaces
6968
incl <- parsec

Cabal-tests/tests/ParserTests/regressions/issue-5846.format

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
issue-5846.cabal:11:23: colon specifier is experimental feature (issue #5660)
2-
issue-5846.cabal:10:23: colon specifier is experimental feature (issue #5660)
3-
issue-5846.cabal:7:23: colon specifier is experimental feature (issue #5660)
4-
issue-5846.cabal:8:23: colon specifier is experimental feature (issue #5660)
51
cabal-version: 3.0
62
name: issue
73
version: 5846

Cabal-tests/tests/ParserTests/regressions/issue-6083-a.format

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
issue-6083-a.cabal:19:31: colon specifier is experimental feature (issue #5660)
2-
issue-6083-a.cabal:8:30: colon specifier is experimental feature (issue #5660)
31
cabal-version: 3.4
42
name: issue
53
version: 6083

Cabal-tests/tests/ParserTests/regressions/issue-6083-b.format

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
issue-6083-b.cabal:19:31: colon specifier is experimental feature (issue #5660)
21
cabal-version: 3.0
32
name: issue
43
version: 6083

Cabal-tests/tests/ParserTests/regressions/issue-6083-pkg-pkg.format

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
issue-6083-pkg-pkg.cabal:9:27: colon specifier is experimental feature (issue #5660)
21
cabal-version: 3.0
32
name: issue
43
version: 6083

Cabal-tests/tests/ParserTests/regressions/public-multilib-1.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 3.0
22
name: public-multilib1
33
version: 0
4-
synopsis: public-multilibs are not polished enough for Hackage
4+
synopsis: public-multilibs
55
category: Tests
66
license: MIT
77

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
public-multilib-1.cabal:16:27: visibility is experimental feature (issue #5660)
21
No 'maintainer' field.
32
No 'description' field.

Cabal-tests/tests/ParserTests/regressions/public-multilib-2.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 3.0
22
name: public-multilib1
33
version: 0
4-
synopsis: public-multilibs are not polished enough for Hackage
4+
synopsis: public-multilibs
55
category: Tests
66
license: MIT
77

0 commit comments

Comments
 (0)