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

stdlib: Update type for URI.join #1580

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

tk0miya
Copy link
Contributor

@tk0miya tk0miya commented Oct 22, 2023

URI.join takes not only strings, but also URI objects. Therefore it would be better to update its signature.

Internally, arguments will be converted to URI objects before concatenating.
https://github.com/ruby/ruby/blob/v3_2_2/lib/uri/rfc3986_parser.rb#L107-L116

URI.join takes not only strings, but also URI objects.  Therefore it
would be better to update its signature.

Internally, arguments will be converted to URI objects before
concatenating.
https://github.com/ruby/ruby/blob/v3_2_2/lib/uri/rfc3986_parser.rb#L107-L116
@tk0miya tk0miya force-pushed the update_types_for_URI.join branch from 7b690fa to d35c8c5 Compare October 22, 2023 05:29
Copy link
Member

@soutaro soutaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@soutaro soutaro added this pull request to the merge queue Oct 30, 2023
@soutaro soutaro added this to the RBS 3.3 milestone Oct 30, 2023
Merged via the queue into ruby:master with commit 9ed2e11 Oct 30, 2023
23 checks passed
@tk0miya tk0miya deleted the update_types_for_URI.join branch October 30, 2023 07:23
@soutaro soutaro added the Released PRs already included in the released version label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Released PRs already included in the released version
Development

Successfully merging this pull request may close these issues.

2 participants