Skip to content

[CodeCompletion] Always print argument ':' in filterName #72887

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
Apr 16, 2024

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Apr 6, 2024

In annotated results.

rdar://124667867

@@ -234,60 +234,58 @@ void CodeCompletionResultBuilder::setAssociatedDecl(const Decl *D) {
void CodeCompletionResultBuilder::addCallArgument(
Identifier Name, Identifier LocalName, Type Ty, Type ContextTy,
bool IsVarArg, bool IsInOut, bool IsIUO, bool IsAutoClosure,
bool UseUnderscoreLabel, bool IsLabeledTrailingClosure, bool HasDefault) {
bool IsLabeledTrailingClosure, bool IsForOperator, bool HasDefault) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UseUnderscoreLabel was meant to indicate "is labeled trailing closure" when it's introduced 😅

In annotated results.

rdar://124667867
@rintaro rintaro force-pushed the ide-completion-rdar124667867 branch from 27657d2 to 46cc32e Compare April 6, 2024 00:21
@rintaro
Copy link
Member Author

rintaro commented Apr 8, 2024

@swift-ci Please smoke test

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.

3 participants