Skip to content

[CodeComplete] Restore original type in getOperatorCompletions #17421

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

Closed
wants to merge 1 commit into from

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jun 22, 2018

In getOperatorCompletions(), temporary expressions (PostfixUnaryExpr or SequenceExpr) are created and typechecked for each every known operators. In this process, typechecker may set the type of the parsed expression. That may cause non-accurate completion results or crash at worst.

rdar://problem/28188259

In getOperatorCompletions(), for each every known operators, temporary
expressions are created and typechecked. In this process, typechecker
may set the type of the parsed expression. That may cause non-accurate
completion results or crash at worst.

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

rintaro commented Jun 22, 2018

@swift-ci Please smoke test

@rintaro
Copy link
Member Author

rintaro commented Jun 27, 2018

Superseded by #17556

@rintaro rintaro closed this Jun 27, 2018
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.

1 participant