Skip to content

Conversation

@presidentbeef
Copy link
Contributor

Testing with x { it } :

Before:

RubyParser:

s(:iter, s(:call, nil, :x), 0, s(:call, nil, :it))

Prism:

s(:iter, s(:call, nil, :x), [], s(:call, nil, :it))

After:

RubyParser:

s(:iter, s(:call, nil, :x), 0, s(:call, nil, :it))

Prism:

s(:iter, s(:call, nil, :x), 0, s(:call, nil, :it))

@kddnewton kddnewton merged commit 31009d8 into ruby:main Jan 14, 2025
57 checks passed
@presidentbeef presidentbeef changed the title Fix block paremeters and it for RubyParser Fix block parameters and it for RubyParser Jan 14, 2025
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