Skip to content

Set refinement bit before building closure#7595

Merged
headius merged 1 commit intojruby:masterfrom
headius:who_refines_the_refiners
Jan 24, 2023
Merged

Set refinement bit before building closure#7595
headius merged 1 commit intojruby:masterfrom
headius:who_refines_the_refiners

Conversation

@headius
Copy link
Member

@headius headius commented Jan 24, 2023

The block passed to refine should itself see refined methods. The call was made here, but made after the block was already constructed. Moving the call up allows the block to pick up the refined bit.

This regressed at some point during 9.4 development.

@headius headius added this to the JRuby 9.4.1.0 milestone Jan 24, 2023
The block passed to `refine` should itself see refined methods.
The call was made here, but made after the block was already
constructed. Moving the call up allows the block to pick up the
refined bit.

Fixes jruby#7526

Fixes jruby#7535
@headius headius force-pushed the who_refines_the_refiners branch from 259646a to 3d0dbb8 Compare January 24, 2023 22:43
@headius headius merged commit d519857 into jruby:master Jan 24, 2023
@headius headius deleted the who_refines_the_refiners branch January 24, 2023 23:17
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