Skip to content

Cabal.Distribution.PackageDescription.Check should be factored per component #2065

Closed
@ezyang

Description

@ezyang

Right now Cabal.Distribution.PackageDescription.Check operates on a sort of ad hoc basis, calling allBuildInfo 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions