You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is only reproducible if } is not the last character on the line. Anything after the } gets reported in the error. This makes me think this is related to #774
My cabal version is:
cabal-install version 2.4.0.0
compiled using version 2.4.0.1 of the Cabal library
but as I said I was unable to reproduce this locally in any form, only when uploading to hackage.
The text was updated successfully, but these errors were encountered:
When the package is uploaded to Hackage, Hackage uses also older versions of .cabal format parsers, to verify that old cabal-installs / tools using old Cabal libraries can handle it.
However, if you bump to cabal-version: 2.4 (the one you tested), the upload should surely work.
#744 is fixed in 2.2, so cabal-version: 2.2 should work too.
(warnings due testing only with a single .cabal file, not whole package)
partial-records % /opt/cabal/2.4/bin/cabal check
Warning: The following warnings are likely to affect your build negatively:
...
Warning: Hackage would reject this package.
partial-records % /opt/cabal/2.2/bin/cabal check
The following warnings are likely to affect your build negatively:
...
Hackage would reject this package.
When uploading my package to hackage (notably, cannot reproduce with cabal locally), it complains:
The relevant line is:
The issue is only reproducible if
}
is not the last character on the line. Anything after the}
gets reported in the error. This makes me think this is related to #774My cabal version is:
but as I said I was unable to reproduce this locally in any form, only when uploading to hackage.
The text was updated successfully, but these errors were encountered: