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 how trailing list subpatterns are cached #3278

Merged
merged 1 commit into from
Aug 17, 2023
Merged

Fix how trailing list subpatterns are cached #3278

merged 1 commit into from
Aug 17, 2023

Conversation

munificent
Copy link
Member

@munificent munificent commented Aug 15, 2023

I did some testing and it looks like the implementations are already doing the right thing and caching trailing list elements across patterns, so we may as well update the proposal to match.

This should help ensure we specify it right when it ends up in the spec.

Fix #2922.

doing the right thing and caching trailing list elements across
patterns, so we may as well update the proposal to match.

This should help ensure we specify it right when it ends up in the spec.

Fix #2922.
@munificent munificent changed the title I did some testing and it looks like the implementations are already Fix how trailing list subpatterns are cached Aug 15, 2023
Copy link
Member

@eernstg eernstg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@munificent munificent merged commit 39efdc7 into main Aug 17, 2023
3 checks passed
@munificent munificent deleted the fix-2922 branch August 17, 2023 20:38
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.

[patterns] Invocation key for list pattern tail element may need to use a different index
2 participants