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

Reject invalid dot method call after match predicate or after match required #3242

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

ydah
Copy link
Contributor

@ydah ydah commented Nov 27, 2024

Partially fixes: #3171

@ydah ydah force-pushed the reject-invalid-dot-method-call branch from dbcaffa to b76504b Compare November 27, 2024 09:27
@ydah ydah changed the title Reject invalid dot as after match predicate and match required Reject invalid dot method call after match predicate or after match required Nov 27, 2024
@ydah ydah force-pushed the reject-invalid-dot-method-call branch from b76504b to 5c33fa5 Compare November 27, 2024 10:19
@kddnewton
Copy link
Collaborator

Thank you so much for the fix here! (And the other fixes also!) I won't have time to review this week (Thanksgiving tomorrow) but I will take a look first thing next week.

@tenderlove tenderlove merged commit 9ccb069 into ruby:main Dec 2, 2024
55 checks passed
@ydah ydah deleted the reject-invalid-dot-method-call branch December 2, 2024 18:42
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.

a rescue b in c .method and a and b in c .method is wrongly accepted
3 participants