Skip to content

[CodeCompletion] Eliminate super related completion #25787

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
Jun 26, 2019

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jun 26, 2019

Code simplification.

In parser, parseExprPostfixSuffix() can parse postfix expression for super as well. parseExprSuper() doesn't need to parse them.

In code-completion, completeExprSuper() and completeExprSuperDot() can be consolidated to completePostfixExpr() and completeDotExpr().

In parser, 'parseExprPostfixSuffix()' can parse postfix expression for
'super'. 'parseExprSuper()' doesn't need to parse them.

In code-completion, 'completeExprSuper()' and 'completeExprSuperDot()'
can be consolidated to 'completePostfixExpr()' and 'completeDotExpr()'.
@rintaro
Copy link
Member Author

rintaro commented Jun 26, 2019

@swift-ci Please smoke test

@rintaro rintaro requested a review from benlangmuir June 26, 2019 17:18
@rintaro
Copy link
Member Author

rintaro commented Jun 26, 2019

@swift-ci Please smoke test OS X platform

1 similar comment
@rintaro
Copy link
Member Author

rintaro commented Jun 26, 2019

@swift-ci Please smoke test OS X platform

@rintaro
Copy link
Member Author

rintaro commented Jun 26, 2019

@swift-ci Please clean smoke test OS X platform

@slavapestov
Copy link
Contributor

Nice!

Copy link
Contributor

@benlangmuir benlangmuir left a comment

Choose a reason for hiding this comment

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

Nice one!

@rintaro rintaro merged commit 114f473 into swiftlang:master Jun 26, 2019
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