Skip to content

Fixes #7572. Blocks with only keywords losing keyword status.#7573

Merged
enebo merged 1 commit intojruby:masterfrom
enebo:fix_7572
Jan 11, 2023
Merged

Fixes #7572. Blocks with only keywords losing keyword status.#7573
enebo merged 1 commit intojruby:masterfrom
enebo:fix_7572

Conversation

@enebo
Copy link
Member

@enebo enebo commented Jan 11, 2023

This was very narrow in scope. If you only passed in a single argument we "unwrap" it from the original [arg] and just pass arg. This in turn spreads whatever is there (if an array).

In this case arg is the keywords arg. So the fix was to not unwrap in this case.

This was very narrow in scope.  If you only passed in a single
argument we "unwrap" it from the original ```[arg]``` and just
pass arg.  This in turn *spreads* whatever is there (if an array).

In this case arg is the keywords arg.  So the fix was to not unwrap
in this case.
@enebo enebo added this to the JRuby 9.4.1.0 milestone Jan 11, 2023
@enebo enebo merged commit cc6e30e into jruby:master Jan 11, 2023
@enebo enebo deleted the fix_7572 branch January 11, 2023 21:25
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