Repository navigation
Re #6038 #9370 Deps with no main lib are accepted by Cabal (the tool) - #11931
Merged
Merged
Conversation
Collaborator
|
Thanks @mpilgrem. I wonder if there's an existing test for that situation (maybe found by grepping for |
ulysses4ever
approved these changes
Jun 4, 2026
ulysses4ever
left a comment
Collaborator
There was a problem hiding this comment.
On top of the test, it'd be interesting to know when and why this changed. But we shouldn't block the straightforward doc fix because of those questions. Thank you!
ffaf1
approved these changes
Jun 4, 2026
Contributor
Merge Queue Status
This pull request spent 1 hour 56 minutes 45 seconds in the queue, including 1 hour 44 minutes 58 seconds running CI. Required conditions to merge
|
This was referenced Jun 6, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Template B: This PR does not modify behaviour or interface
See:
Cabal (the tool) v3.14.2.0 and v3.16.1.0 appear to accept dependencies on packages with public sublibraries and no main library. Consequently, the note in the Cabal User Guide stating otherwise can be deleted. For example, the following example appears to be buildable on a Windows 11 system: