Cabal.Distribution.PackageDescription.Check should be factored per component #2065
Labels
Cabal: other
cabal-install: cmd/check
old-milestone: ⊥
Moved from https://github.com/haskell/cabal/milestone/5
type: refactor
Milestone
Right now
Cabal.Distribution.PackageDescription.Check
operates on a sort of ad hoc basis, callingallBuildInfo
to implement various checks. This means that there are few cases where we completely forget to validate fields at all, especially build-depends in stanzas. Instead, we should have a function which validates a BuildInfo, and call it on each of the build-infos.The text was updated successfully, but these errors were encountered: