Skip to content

Fixes #8952. Nest it should be different its#9189

Closed
enebo wants to merge 1 commit intojruby:masterfrom
enebo:topic/nested_it
Closed

Fixes #8952. Nest it should be different its#9189
enebo wants to merge 1 commit intojruby:masterfrom
enebo:topic/nested_it

Conversation

@enebo
Copy link
Member

@enebo enebo commented Jan 28, 2026

it is really only for the block they exist in. Our code previous to this fix would look up the variables scopes like it was any ordinary variable.

`it` is really only for the block they exist in.  Our code previous to this
fix would look up the variables scopes like it was any ordinary variable.
@enebo enebo added this to the JRuby 10.0.3.0 milestone Jan 28, 2026
headius added a commit to headius/jruby that referenced this pull request Jan 28, 2026
This backports logic from 10.1 used to indicate which local vars
are implicit, for future filtering for methods like
`local_variables` and `implicit_variables`. The Ruby 4.0 features
and behavior changes have been removed from the original commits.

See jruby#9077

See jruby#9077

Needed for fixes in jruby#9189 in
JRuby 10.0.3.0.
@enebo enebo closed this Jan 28, 2026
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