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

[CodeCompletion] Fallback to nominal member completion after trailing closure #32521

Merged
merged 1 commit into from
Jun 24, 2020

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jun 24, 2020

After trailing closure, we perform "Labeled trailing closure" completion and fall back to other completion depending on the position. If the completion happens at a newline position, it used to fallback to global expression completion, but in type context, we should do override completion instead.

Also, it didn't use to propagate hasCodeCompletion() status properly.

rdar://problem/64650782

… closure

After trailing closure, we perform "Labeled trailing closure" completion
and fall back to other completion depending on the position.

If the completion happens at a newline position, it used to fallback to
global expression completion, but in type context, we should do override
completion instead.

Also, we didn't use to propagate 'hasCodeCompletion()' status properly.

rdar://problem/64650782
@rintaro
Copy link
Member Author

rintaro commented Jun 24, 2020

@swift-ci Please smoke test

@rintaro rintaro requested a review from benlangmuir June 24, 2020 08:06
@rintaro
Copy link
Member Author

rintaro commented Jun 24, 2020

@swift-ci Please smoke test macOS

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.

None yet

2 participants