Skip to content

Less Load{Frame,Implicit}ClosureInstr#7978

Merged
enebo merged 3 commits intojruby:masterfrom
enebo:less_closure_instr
Oct 25, 2023
Merged

Less Load{Frame,Implicit}ClosureInstr#7978
enebo merged 3 commits intojruby:masterfrom
enebo:less_closure_instr

Conversation

@enebo
Copy link
Member

@enebo enebo commented Oct 24, 2023

I think since Ruby 3 esoteric forms where an SClass can get a block body to yield is no longer possible. This I think has always been try for Class and Module bodies (syntactically) so I am removing emitting Load{Frame,Implicit}ClosureInstr for those scope types.

I think since Ruby 3 esoteric forms where an SClass can get a block
body to yield is no longer possible.  This I think has always been
try for Class and Module bodies (syntactically) so I am removing
emitting Load{Frame,Implicit}ClosureInstr for those scope types.
@enebo enebo added this to the JRuby 9.4.5.0 milestone Oct 24, 2023
@enebo enebo merged commit 1a85978 into jruby:master Oct 25, 2023
@enebo enebo deleted the less_closure_instr branch October 25, 2023 18:35
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