Skip to content

No numbered parameters in Binding#local_variables#9077

Merged
headius merged 1 commit intojruby:ruby-4.0from
headius:no_implicits_in_local_vars
Nov 18, 2025
Merged

No numbered parameters in Binding#local_variables#9077
headius merged 1 commit intojruby:ruby-4.0from
headius:no_implicits_in_local_vars

Conversation

@headius
Copy link
Member

@headius headius commented Nov 18, 2025

For Ruby 4.0 compatibility.

See ruby/ruby#12746

See #9061

@headius headius added this to the JRuby 10.1.0.0 milestone Nov 18, 2025
@headius headius mentioned this pull request Nov 18, 2025
@headius headius merged commit ccf3020 into jruby:ruby-4.0 Nov 18, 2025
59 of 76 checks passed
@headius headius deleted the no_implicits_in_local_vars branch November 18, 2025 07:23
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.
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