Skip to content

[4.2][Diagnostics] Check member name kind before trying to get its identifier #16220

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 28, 2018

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Apr 27, 2018

Declarations with special names (e.g. (de-)init and subscript) don't have
identifiers so while trying to diagnose specific problems related to
members check if they have a kind appropriate to the situation.

Resolves: rdar://problem/39514009
(cherry picked from commit f036649)

Declarations with special names (e.g. (de-)init and subscript) don't have
identifiers so while trying to diagnose specific problems related to
members check if they have a kind appropriate to the situation.

Resolves: rdar://problem/39514009
(cherry picked from commit f036649)
@xedin
Copy link
Contributor Author

xedin commented Apr 27, 2018

@swift-ci please smoke test and merge

@xedin
Copy link
Contributor Author

xedin commented Apr 28, 2018

@swift-ci please test and merge

@swift-ci swift-ci merged commit 4a4c068 into swiftlang:swift-4.2-branch Apr 28, 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.

2 participants