Skip to content

Forward **options in raise.#147

Merged
ioquatix merged 1 commit intomainfrom
raise-options
Jul 24, 2025
Merged

Forward **options in raise.#147
ioquatix merged 1 commit intomainfrom
raise-options

Conversation

@ioquatix
Copy link
Copy Markdown
Member

@ioquatix ioquatix commented Jul 24, 2025

Ruby 3.5 will explicitly support cause: to Thread#raise and Fiber#raise.

While working on this in Async, I found the compiled code path is fine, but the pure Ruby code path is not, because keyword arguments get converted to positional arguments.

socketry/async#388

This ensures we pass through **options correctly.

Types of Changes

  • Bug fix.

Contribution

@ioquatix ioquatix merged commit 6a7ef92 into main Jul 24, 2025
75 of 92 checks passed
@ioquatix ioquatix deleted the raise-options branch July 24, 2025 08:19
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