8000 pass `NameRef` by value in `getCompletionItemForLocalName` by froydnj · Pull Request #5396 · sorbet/sorbet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pass NameRef by value in getCompletionItemForLocalName #5396

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 1 commit into from
Mar 2, 2022

Conversation

froydnj
Copy link
Contributor
@froydnj froydnj commented Mar 2, 2022

Motivation

@elliottt noted this in #5389; I imagine inlining makes it a little moot exactly which type we choose, but passing by value is more consistent.

Test plan

See included automated tests.

@froydnj froydnj requested a review from a team as a code owner March 2, 2022 14:33
@froydnj froydnj requested review from elliottt and removed request for a team March 2, 2022 14:33
@froydnj froydnj enabled auto-merge (squash) March 2, 2022 14:54
@froydnj froydnj disabled auto-merge March 2, 2022 16:02
@froydnj froydnj merged commit 441ffd1 into master Mar 2, 2022
@froydnj froydnj deleted the froydnj-completion-item-reference branch March 2, 2022 17:31
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
0