haskell / haskell/cabal

"Found one or more unnamed internal libraries. " check in `cabal check` is cruft

Open
#8,247 3 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.