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 capturing conditions of HOAS quote patterns #14822

Merged
merged 1 commit into from
May 3, 2022

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Apr 1, 2022

We did not properly check that the scrutinee was closed under the
environment minus the captured arguments.
This corresponds to the check
Screenshot 2022-04-01 at 13 18 37

Where env corresponds to ϕ and args.map(_.symbol).toSet is the set on the right-hand side.

Of this rule in https://dl.acm.org/doi/abs/10.1145/3486609.3487203
Screenshot 2022-04-01 at 13 14 46

We did not properly check that the scrutinee was closed under the
environment minus the captured arguments.
@nicolasstucki nicolasstucki requested a review from smarter April 1, 2022 12:49
@nicolasstucki nicolasstucki marked this pull request as ready for review April 1, 2022 15:09
@nicolasstucki nicolasstucki added this to the 3.2.0-RC1 milestone Apr 25, 2022
@smarter smarter merged commit 1f4daea into scala:main May 3, 2022
@smarter smarter deleted the pattern-scope-extusion branch May 3, 2022 12:21
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.

2 participants