-
Notifications
You must be signed in to change notification settings - Fork 647
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
[topfmt] Set formatter + flush fix #12358
Conversation
5de4798
to
770454c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I presume this now also applies to Set Printing Depth
? (Would it be possible to get a complete listing of the relevant options in the changelog, if it's not too much work?)
Also, would it be possible to get a test-suite test for this?
doc/changelog/07-commands-and-options/12358-redirect_printing_params.rst
Outdated
Show resolved
Hide resolved
Yup to both |
a5badf2
to
cd9bb12
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Closes coq#12351. We set the parameters of the redirect formatter to be same than the ones in stdout. I guess the original semantics was to ignore the parameters, so I'm unsure we want to do this. While we are a it, we include a fix on the formatter, which _must_ be flushed before closing its associated channel.
cd9bb12
to
fb0caf1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs overlay for fiat crypto AFAICT
@JasonGross , the overlay again won't be backwards compatible, what should we do tho? Do you want to propagate the diff tweak hack? |
Sure, feel free to submit a PR that extends the diff hack, or else I can do it when I get a chance |
I'll be on holidays until Monday, so it is likely I don't get the chance to help with this soon. |
Compatibility with coq/coq#12358
Should be fixed by mit-plv/fiat-crypto@2b5c790 |
Closes #12351.
We set the parameters of the redirect formatter to be same than the
ones in stdout.
I guess the original semantics was to ignore the parameters, so I'm
unsure we want to do this.
While we are a it, we include a fix on the formatter, which must be
flushed before closing its associated channel.