Skip to content

Migrate to use RBS annotations #63

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

Merged
merged 2 commits into from
May 13, 2025

Conversation

vinistock
Copy link
Contributor

The Ruby LSP is migrating to not depend on sorbet-runtime. One accidental side effect that we didn't consider is that moving generic annotations to comments will make the self.[] method no longer exist, which makes the RSpec add-on crash.

This PR migrates the codebase to use RBS in comments annotations, so that the crash no longer happens and the add-on doesn't depend on sorbet-runtime features anymore.

Copy link
Owner

@st0012 st0012 left a comment

Choose a reason for hiding this comment

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

Thank you!

@st0012 st0012 merged commit 1864733 into st0012:main May 13, 2025
4 checks passed
@vinistock vinistock deleted the vs_migrate_to_rbs_annotations branch May 13, 2025 14:14
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.

2 participants