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

Improve ForbidTUn{safe,typed} #144

Merged
merged 1 commit into from
Feb 21, 2023
Merged

Improve ForbidTUn{safe,typed} #144

merged 1 commit into from
Feb 21, 2023

Conversation

sambostock
Copy link
Contributor

This makes the following changes to the Sorbet/ForbidTUnsafe & Sorbet/ForbidTUntyped cops:

  • Switches to the idiomatic MSG constant
  • Specifies RESTRICT_ON_SEND, which optimizes on_send to only be called on relevant method sends.

@sambostock sambostock requested a review from paracycle February 21, 2023 14:49
@sambostock sambostock requested a review from a team as a code owner February 21, 2023 14:49
@sambostock sambostock merged commit 7492354 into main Feb 21, 2023
@sambostock sambostock deleted the improve-t-un-x branch February 21, 2023 15:06
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