Skip to content

[CodeCompletion] Remove CodeComletionString::getName() #38446

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
Jul 17, 2021

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jul 16, 2021

CodeCompletioString::getName() was used only as the sorting keys in CodeCompletionContext::sortCompletionResults() which is effectively deprecated, and it was not good even for sorting because it contained parameter type names. There's no reason to check them in swift-ide-test. Instead, check printCodeCompletionResultFilterName() that is actually used for filtering.

`CodeCompletioString::getName()` was used only as the sorting keys in
`CodeCompletionContext::sortCompletionResults()` which is effectively
deprecated. There's no reason to check them in `swift-ide-test`. Instead,
check `printCodeCompletionResultFilterName()` that is actually used for
filtering.
@rintaro
Copy link
Member Author

rintaro commented Jul 16, 2021

@swift-ci Please smoke test

@rintaro rintaro requested a review from benlangmuir July 16, 2021 20:27
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