Skip to content

Deprecate Kernel#Namespace - #2123

Merged
soutaro merged 2 commits into
ruby:masterfrom
ksss:k-namespace
Dec 18, 2024
Merged

soutaro merged 2 commits into
ruby:masterfrom
ksss:k-namespace

Conversation

@ksss

@ksss ksss commented Dec 5, 2024

Copy link
Copy Markdown
Collaborator

The Namespace functionality will be added in Ruby4. https://bugs.ruby-lang.org/issues/19744
If added, Namespace() is likely to create confusion.

I propose that we deprecate it now.

@soutaro soutaro added this to the RBS 3.8 milestone Dec 18, 2024

@soutaro soutaro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! 👍

ksss and others added 2 commits December 18, 2024 17:48
Namespace functionality will be added in Ruby4.
If added, `Namespace()` is likely to create confusion.
@soutaro

soutaro commented Dec 18, 2024

Copy link
Copy Markdown
Member

I added a commit to deprecate Kernel#TypeName utility method too.

@soutaro
soutaro enabled auto-merge December 18, 2024 08:49
@soutaro
soutaro added this pull request to the merge queue Dec 18, 2024
Merged via the queue into ruby:master with commit 4409572 Dec 18, 2024
@ksss
ksss deleted the k-namespace branch December 18, 2024 09:38
@soutaro soutaro added the Released PRs already included in the released version label Dec 19, 2024
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants