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
{{ message }}
Repository navigation
readGenericPackageDescription >>= writeGenericPackageDescription drops some fields #4719
changed the title [-]readGenericPackageDescription >>= writeGenericPackageDescription drops some flags and fields[/-][+]readGenericPackageDescription >>= writeGenericPackageDescription drops some fields[/+]on Aug 24, 2017
Yeah, that's a known issue, writeGenericPackageDescription has been incomplete as long as I can rememeber. readGenericPackageDescription >>= writeGenericPackageDescription is basically what the hidden command cabal format does, and I think @phadej has been starting to pay attention (see e.g. #4697).
I think that this is basically a duplicate of #2607. Maybe we should open a single ticket for "cabal format doesn't work" with links to all relevant issues.
Activity
[-]readGenericPackageDescription >>= writeGenericPackageDescription drops some flags and fields[/-][+]readGenericPackageDescription >>= writeGenericPackageDescription drops some fields[/+]hvr commentedon Aug 24, 2017
Yeah, that's a known issue,
writeGenericPackageDescriptionhas been incomplete as long as I can rememeber.readGenericPackageDescription >>= writeGenericPackageDescriptionis basically what the hidden commandcabal formatdoes, and I think @phadej has been starting to pay attention (see e.g. #4697).23Skidoo commentedon Aug 24, 2017
I think that this is basically a duplicate of #2607. Maybe we should open a single ticket for "cabal format doesn't work" with links to all relevant issues.
duog commentedon Aug 27, 2017
Should writeGenericPackageDescription be unexported until it is fixed? I think it's broken state should at least be mentioned in the haddocks.
Add GPD parse . pretty roundtrip tests. Fixes haskell#4719
phadej commentedon Aug 29, 2017
@duog, maybe for 2.0 branch: it cannot be hidden, as that will be breaking change. Documentation can always be improved.
The issue will be soon fixed in
master.WIP [ci skip]
WIP [ci skip]
WIP [ci skip]
WIP [ci skip]
WIP
WIP
WIP
WIP
WIP
Introduce FIeldGrammar.
Introduce FIeldGrammar.
Introduce FIeldGrammar.
Introduce FIeldGrammar.
Introduce FIeldGrammar.
Revert "Use older version of jailbreak-cabal with ghcHEAD"