8000 Allow renaming method to uppercase by jez · Pull Request #5487 · sorbet/sorbet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Allow renaming method to uppercase #5487

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
Mar 18, 2022
Merged

Allow renaming method to uppercase #5487

merged 2 commits into from
Mar 18, 2022

Conversation

jez
Copy link
Collaborator
@jez jez commented Mar 18, 2022

Motivation

Fixes #5486

Test plan

See included automated tests.

There are some slight gotchas here, but I think that the upsides are better than
the downsides, and we have tests.

We could consider a future implementation that goes so far as to detect the
places that will become errors and sticks a () onto the end to force Ruby to
parse the thing as a constant, but I'm fine leaving that for some future
improvement.

@jez jez requested a review from a team as a code owner March 18, 2022 18:34
@jez jez requested review from aprocter and removed request for a team March 18, 2022 18:34
@jez jez merged commit de2133a into master Mar 18, 2022
@jez jez deleted the jez-rename-method branch March 18, 2022 20:47
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.

Allow renaming functions to constants
2 participants
0