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

Fix miscompilation #1482

Merged
merged 5 commits into from
Jul 4, 2023
Merged

Fix miscompilation #1482

merged 5 commits into from
Jul 4, 2023

Conversation

hhugo
Copy link
Member

@hhugo hhugo commented Jul 3, 2023

fix #1481

@hhugo
Copy link
Member Author

hhugo commented Jul 3, 2023

@Ngoguey42, can you confirm this PR fixes your issue ?

@Ngoguey42
Copy link
Contributor

Yes it does. Thanks

@hhugo hhugo merged commit bc9032d into master Jul 4, 2023
13 of 14 checks passed
@hhugo hhugo deleted the fix-pat branch July 4, 2023 10:12
@hhugo
Copy link
Member Author

hhugo commented Jul 4, 2023

@pmwhite, you might want to give this a try ...

@pmwhite
Copy link
Contributor

pmwhite commented Jul 19, 2023

I tested this internally and saw no changes to our tests. This maybe doesn't say very much because it's possible that someone ran into the miscompilation and just found a workaround instead of reporting it (I hope not, though!). Also, if what you said about it being revealed by OCaml 5 is true, then I wouldn't expect there to be any difference, since we are still using OCaml 4.14

In any case, thanks for flagging this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Incorrect compilation of polyvar pattern matching
3 participants