8000 Add type `RBS::Unnamed::TopLevelSelfClass` to core by ksss · Pull Request #2362 · ruby/rbs · GitHub
[go: up one dir, main page]

Skip to content

Add type RBS::Unnamed::TopLevelSelfClass to core #2362

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ksss
Copy link
Collaborator
@ksss ksss commented Mar 27, 2025

First step of #2361

I defined RBS::Unnamed::TopLevelSelfClass.
By itself, this doesn't change anything, but if type checkers implement this class as the class of the top-level object, it will make it possible to type-check methods specific to the top level.

@ksss ksss added this to the RBS 4.0 milestone Jun 16, 2025
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
0