Skip to content

Proc#inspect with &:foo should print that out in str#7669

Merged
enebo merged 1 commit intojruby:masterfrom
enebo:proc_inspect
Feb 17, 2023
Merged

Proc#inspect with &:foo should print that out in str#7669
enebo merged 1 commit intojruby:masterfrom
enebo:proc_inspect

Conversation

@enebo
Copy link
Member

@enebo enebo commented Feb 17, 2023

Logic was there but weird relying on a side-effect which was never made. This logic is less clever but also less likely to cause weird behavior (who knows what will happen if you reuse file in blockbody for other stuff?).

Logic was there but weird relying on a side-effect which
was never made.  This logic is less clever but also less likely
to cause weird behavior (who knows what will happen if you
reuse file in blockbody for other stuff?).
@enebo enebo added this to the JRuby 9.4.2.0 milestone Feb 17, 2023
@enebo enebo merged commit 45bc91d into jruby:master Feb 17, 2023
@enebo enebo deleted the proc_inspect branch February 17, 2023 22:37
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