Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: pass_thru behavior when the proc is spec-ed via a Proc as last argument #27

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

doudou
Copy link
Owner

@doudou doudou commented Sep 14, 2024

v2.4.1 broke backward compatibility in the following case:

with(some, arguments, Proc).pass_thru

In that case, the block would be given as positional argument to the original method, instead of being passed as a block.

@doudou doudou requested a review from g-arjones September 14, 2024 19:14
…rgument

v2.4.1 broke backward compatibility in the following case:

   with(some, arguments, Proc).pass_thru

In that case, the block would be given as positional argument to the
original method, instead of being passed as a block.
@doudou doudou force-pushed the fix_24_pass_thru_with_proc branch from 2e7f854 to 2e7a888 Compare September 14, 2024 19:15
@doudou doudou merged commit 3d55a2c into v2.4 Sep 16, 2024
3 checks passed
@doudou doudou deleted the fix_24_pass_thru_with_proc branch September 16, 2024 19:34
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.

2 participants