-
Notifications
You must be signed in to change notification settings - Fork 631
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
Fixes #9412: Context command ignored implicit binders #11390
Conversation
7e23c89
to
18abb07
Compare
I added a warning for Maybe the incompatibilities are too important and it'll be preferable to do the fix in two steps... A first release with a warning telling how to fix. The next release w/o the warning?? |
Some people use context outside sections a lot, eg https://github.com/mit-pdos/perennial/blob/cdaa737e40d08c1c7c7d514db69a8f9b55814713/src/CSL/RefinementIdempotenceModule.v#L18-L52 |
Thanks. This confirms my view that we should rather change the doc. (But still keep a warning for To deal with the compatibility, I'm now otherwise considering using the multiple sequence of implicit arguments feature, i.e. to do so that
behaves (including auto implicit arguments) as:
I suspect that this would be totally compatible, since the extra sequence would be used only when more arguments than expected are used. Also, this would provide with an alternative way to explicitly give implicit arguments which is lighter than by using the What do you think? |
18abb07
to
f253565
Compare
f253565
to
0f34cb5
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.
If this is meant to be a breaking change, the changelog entry should be much more explicit about this.
I started investigating how to make it (hopefully) a non-breaking change, by using multiple lists of implicit arguments. It is not so clear how to do in an elegant way though:
[Slightly related, but for another PR, @mattam82 suggested me to deprecate automatic declaration of not-in-section |
Dear PR author(s) and contributors, it seems to us this PR may need additional work beyond the 8.12 branching deadline on May 15th. We are thus removing the 8.12+beta1 milestone; please retarget as appropriate, and also consider updating labels to reflect current status, moving the PR to draft status, etc. We apologize in advance if we misunderstood the PR status. |
This PR implements/fixes what I think is the expected behavior for |
I'm slightly worried about your ideas for making this a non-breaking change. I'd much rather advertise this as a breaking bug fix (like the one of In any case: this seems slightly too late for 8.12, but this would still be great to finish this! |
0f34cb5
to
a385b2e
Compare
a385b2e
to
4bf1400
Compare
BTW, the change to the doc is completely independent of the rest of the PR and should have been its own PR (it would have been merged much faster). |
The job library:ci-fiat_crypto_legacy has failed in allow failure mode |
The number of impacted projects seems so huge that I'm having a very hard time believing that there are really this many projects that used an implicit binder in the type of a variable declared in a |
The job library:ci-fiat_crypto_legacy has failed in allow failure mode |
Hey, I have detected that there were CI failures at commit 9629257 without any failure in the test-suite. However, you may want to wait until the pipeline for the base commit (c750baa) finishes. |
The "needs: rebase" label was set more than 30 days ago. If the PR is not rebased in 30 days, it will be automatically closed. |
9629257
to
934282f
Compare
The job library:ci-fiat_crypto_legacy has failed in allow failure mode |
ping @herbelin what is to be done with this? |
The "needs: rebase" label was set more than 30 days ago. If the PR is not rebased in 30 days, it will be automatically closed. |
934282f
to
6a38039
Compare
The job library:ci-fiat_crypto_legacy has failed in allow failure mode |
The "needs: rebase" label was set more than 30 days ago. If the PR is not rebased in 30 days, it will be automatically closed. |
This PR was not rebased after 30 days despite the warning, it is now closed. |
@herbelin Was this PR almost ready for the last two years? |
Kind: bug fix
Fixes / closes #9412
This is a quick fix (which will have to be adapted on top of #12272).