I took a stab at improving the error message one receives for a bad cabal-version field, per the discussion here.
Example message:
Errors encountered when parsing cabal file ./records.cabal:
records.cabal:0:0: error:
Unsupported cabal format version in cabal-version field: 3.10.
Current cabal-version values are listed at https://cabal.readthedocs.io/en/stable/file-format-changelog.html.
I took a stab at improving the error message one receives for a bad
cabal-version
field, per the discussion here.Example message:
Template Α: This PR modifies
cabal
behaviourInclude the following checklist in your PR:
This is an automatic backport of pull request #9754 done by Mergify.