"Found one or more unnamed internal libraries. " check in `cabal check` is cruft
Open
cabal-install: cmd/check
cabal-testsuite
re: internal library
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
**Describe the bug**
[This is the check](https://github.com/haskell/cabal/blob/master/Cabal/src/Distribution/PackageDescription/Check.hs#L203).
**To Reproduce**
The problem is you *cannot* reproduce it. If you leave `library` unnamed and slap a `visibility: internal`, this field (`visibility`) will be not recognised.
**Expected behavior**
See if there is a way to trigger this check or axe it.
**System information**
- cabal-install 3.9 HEAD
Contributor guide
Assessment
This issue has not been assessed yet.