-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
From #98:
It turns out that it's easy to generate invalid .cabal files for cabal-version: 2.2, because non-SPDX licenses aren't at all supported, and pre-2.2 spec versions will fail with SPDX. So, if we want to follow the dictum of 'make illegal states unrepresentable', we should change the Package type to be a union of pre-2.2 and post-2.2 records, or do something similar.
There are some other cases where we'd want to do this (e.g., no autogen-modules before whichever version that was introduced in), as well.
Metadata
Metadata
Assignees
Labels
No labels