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

Write to constant path, call, and index in rescue #9496

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

kddnewton
Copy link
Contributor

When compiling a rescue reference, you can write to a constant path, a call, or an index. In these cases we need to compile the prefix expression first, then handle actually doing the write/call.

Fixes ruby/prism#2157

When compiling a rescue reference, you can write to a constant
path, a call, or an index. In these cases we need to compile the
prefix expression first, then handle actually doing the write/call.
@kddnewton kddnewton merged commit 2d9db72 into ruby:master Jan 12, 2024
96 checks passed
@kddnewton kddnewton deleted the assign-to-constant-path branch January 12, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant