Skip to content

Revert "Reject infix operators on command call on writes"#3960

Merged
Earlopain merged 1 commit intoruby:mainfrom
Earlopain:revert-3949
Mar 4, 2026
Merged

Revert "Reject infix operators on command call on writes"#3960
Earlopain merged 1 commit intoruby:mainfrom
Earlopain:revert-3949

Conversation

@Earlopain
Copy link
Collaborator

This reverts commit 4e71dbf.

And also add a regression test. Seems like currently prism parses these the same that parse.y does.

This reverts commit 4e71dbf.

And also add a regression test. Seems like currently prism parses these the same that parse.y does.
@Earlopain Earlopain merged commit 0399342 into ruby:main Mar 4, 2026
67 checks passed
matzbot pushed a commit to ruby/ruby that referenced this pull request Mar 4, 2026
writes"
(ruby/prism#3960)

This reverts commit ruby/prism@4e71dbfc7bd9.

And also add a regression test. Seems like currently prism parses these the same that parse.y does.

ruby/prism@03993421f2
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.

1 participant