-
Notifications
You must be signed in to change notification settings - Fork 710
Pretty-printer loses necessary quotes in ghc-options #2661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
This bug is still present in current Git versions of Cabal 1.25.0.0. 😞 |
/cc @phadej |
phadej
added a commit
that referenced
this issue
Oct 15, 2017
Fixes #2661. Add a regression test, issue is already fixed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Cabal file http://hackage.haskell.org/package/serversession-backend-persistent-1.0/serversession-backend-persistent.cabal defines the following
ghc-options
flags:When round-tripped through the Cabal library, however, the outcome will be:
The quotation marks -- which are essential for the build to succeed -- are lost.
To reproduce this error, process the Cabal file given above with the following code:
This error occurs with Cabal-1.22.2.0, but older versions (like Cabal 1.20.x) seem to have the same issue.
The text was updated successfully, but these errors were encountered: