Skip to content

Commit 0cdca20

Browse files
committed
Remove "colon specifier is experimental feature"
Same for "visibility is experimental feature" With haskell#7270 fixed, it's time to allow hackage uploads Closes haskell#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

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

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ 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:10:27: visibility is experimental feature (issue #5660)
87
Configuring library 'publib' for pkg-def-0.1.0.0..
98
Preprocessing library 'publib' for pkg-def-0.1.0.0..
109
Building library 'publib' for pkg-def-0.1.0.0..
11-
Warning: pkg-abc.cabal:10:15: colon specifier is experimental feature (issue #5660)
1210
Configuring executable 'program' for pkg-abc-0.1.0.0..
1311
Preprocessing executable 'program' for pkg-abc-0.1.0.0..
1412
Building executable 'program' for pkg-abc-0.1.0.0..

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ Build profile: -w ghc-<GHCVER> -O1
44
In order, the following will be built:
55
- pkg-def-0.1.0.0 (lib) (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)
87
Configuring library for pkg-def-0.1.0.0..
98
Preprocessing library for pkg-def-0.1.0.0..
109
Building library for pkg-def-0.1.0.0..
11-
Warning: pkg-abc.cabal:19:15: colon specifier is experimental feature (issue #5660)
1210
Configuring executable 'program' for pkg-abc-0.1.0.0..
1311
Preprocessing executable 'program' for pkg-abc-0.1.0.0..
1412
Building executable 'program' for pkg-abc-0.1.0.0..

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ Build profile: -w ghc-<GHCVER> -O1
44
In order, the following will be built:
55
- pkg-def-0.1.0.0 (lib) (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)
87
Configuring library for pkg-def-0.1.0.0..
98
Preprocessing library for pkg-def-0.1.0.0..
109
Building library for pkg-def-0.1.0.0..
11-
Warning: pkg-abc.cabal:15:29: colon specifier is experimental feature (issue #5660)
12-
Warning: pkg-abc.cabal:20:15: colon specifier is experimental feature (issue #5660)
1310
Configuring executable 'program' for pkg-abc-0.1.0.0..
1411
Preprocessing executable 'program' for pkg-abc-0.1.0.0..
1512
Building executable 'program' for pkg-abc-0.1.0.0..

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ Build profile: -w ghc-<GHCVER> -O1
44
In order, the following will be built:
55
- pkg-abc-0.1.0.0 (lib:pkg-def) (first run)
66
- pkg-abc-0.1.0.0 (exe:program) (first run)
7-
Warning: pkg-abc.cabal:19:15: colon specifier is experimental feature (issue #5660)
87
Configuring library 'pkg-def' for pkg-abc-0.1.0.0..
98
Preprocessing library 'pkg-def' for pkg-abc-0.1.0.0..
109
Building library 'pkg-def' for pkg-abc-0.1.0.0..
11-
Warning: pkg-abc.cabal:19:15: colon specifier is experimental feature (issue #5660)
1210
Configuring executable 'program' for pkg-abc-0.1.0.0..
1311
Preprocessing executable 'program' for pkg-abc-0.1.0.0..
1412
Building executable 'program' for pkg-abc-0.1.0.0..

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ Build profile: -w ghc-<GHCVER> -O1
44
In order, the following will be built:
55
- pkg-abc-0.1.0.0 (lib:pkg-def) (first run)
66
- pkg-abc-0.1.0.0 (exe:program) (first run)
7-
Warning: pkg-abc.cabal:20:15: colon specifier is experimental feature (issue #5660)
87
Configuring library 'pkg-def' for pkg-abc-0.1.0.0..
98
Preprocessing library 'pkg-def' for pkg-abc-0.1.0.0..
109
Building library 'pkg-def' for pkg-abc-0.1.0.0..
11-
Warning: pkg-abc.cabal:20:15: colon specifier is experimental feature (issue #5660)
1210
Configuring executable 'program' for pkg-abc-0.1.0.0..
1311
Preprocessing executable 'program' for pkg-abc-0.1.0.0..
1412
Building executable 'program' for pkg-abc-0.1.0.0..

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ Build profile: -w ghc-<GHCVER> -O1
44
In order, the following will be built:
55
- issue-6894 (lib:sublib) (first run)
66
- issue-6894 (lib) (first run)
7-
Warning: issue.cabal:7:30: colon specifier is experimental feature (issue #5660)
87
Configuring library 'sublib' for issue-6894..
98
Preprocessing library 'sublib' for issue-6894..
109
Building library 'sublib' for issue-6894..
11-
Warning: issue.cabal:7:30: colon specifier is experimental feature (issue #5660)
1210
Configuring library for issue-6894..
1311
Preprocessing library for issue-6894..
1412
Building library for issue-6894..

cabal-testsuite/PackageTests/MultipleLibraries/T6894/setup.cabal.out

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Setup configure
2-
Warning: issue.cabal:7:30: colon specifier is experimental feature (issue #5660)
32
Configuring issue-6894...
43
# Setup build
54
Preprocessing library 'sublib' for issue-6894..

cabal-testsuite/PackageTests/MultipleLibraries/T6894/setup.out

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Setup configure
2-
Warning: issue.cabal:7:30: colon specifier is experimental feature (issue #5660)
32
Configuring issue-6894...
43
# Setup build
54
Preprocessing library 'sublib' for issue-6894..

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Setup configure
2-
Warning: dep.cabal:11:30: visibility is experimental feature (issue #5660)
32
Configuring dep-0.1.0.0...
43
# Setup build
54
Preprocessing library 'sublib' for dep-0.1.0.0..
@@ -13,7 +12,6 @@ Installing library in <PATH>
1312
Registering library 'sublib' for dep-0.1.0.0..
1413
Registering library for dep-0.1.0.0..
1514
# Setup configure
16-
Warning: p.cabal:9:28: colon specifier is experimental feature (issue #5660)
1715
Configuring p-0.1.0.0...
1816
# Setup build
1917
Preprocessing library for p-0.1.0.0..

0 commit comments

Comments
 (0)