Skip to content
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

[2.9] [coq] Fix computation of profile flags #4758

Merged
merged 2 commits into from
Jun 19, 2021

Conversation

ejgallego
Copy link
Collaborator

Backport of #4749 #4748

@ejgallego ejgallego added this to the 2.9 milestone Jun 19, 2021
ejgallego and others added 2 commits June 19, 2021 18:18
* Add test case for coq + env

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

* [coq] Fix computation of profile flags.

This is very subtle and I am not sure I do understand all the
subtleties here, but moving the expansion to the inheritance function
seems like the right thing to do.

Added almost exhaustive test cases.

Signed-off-by: Emilio Jesus Gallego Arias <e+git@x80.org>

Co-authored-by: Rudi Grinberg <me@rgrinberg.com>
This wasn't done in the past as to avoid the ugly grep, but the flag
logic is delicate so we must start testing it properly.

Signed-off-by: Emilio Jesus Gallego Arias <e+git@x80.org>
@ejgallego ejgallego merged commit 9243757 into ocaml:2.9 Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant