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

Remove unnecessary uses of extend T::Sig #3257

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

andyw8
Copy link
Contributor

@andyw8 andyw8 commented Feb 27, 2025

The switch to RBS inline sigs means we don't need this, except for places for that use abstract! (but hopefully that will also be solved).

One potential issue is that if an add-on uses Sorbet sigs, and inherit from something in Ruby LSP which previously extended T::Sig, the add-on author will need to add that extend T::Sig call into their class. The add-on would be very broken without that, so it should be hard to miss, but it might add a little confusion.

@andyw8 andyw8 added the chore Chore task label Feb 27, 2025
Copy link

graphite-app bot commented Feb 27, 2025

How to use the Graphite Merge Queue

Add the label graphite-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@andyw8 andyw8 marked this pull request as ready for review March 6, 2025 16:13
@andyw8 andyw8 requested a review from a team as a code owner March 6, 2025 16:13
(we still need it some places for `abstract!`)
@andyw8 andyw8 force-pushed the andyw8/remove-unnecessary-t-sigs branch from 0dd1269 to cc70e47 Compare March 6, 2025 16:18
@andyw8 andyw8 merged commit 70ea3f4 into main Mar 6, 2025
45 checks passed
@andyw8 andyw8 deleted the andyw8/remove-unnecessary-t-sigs branch March 6, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Chore task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants