Skip to content

[5.1][Diagnostics] Add property wrapper diagnostic for unnecessary $/'_' i… #25878

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

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 29, 2019

…n member access

Detect and diagnose incorrect use of $ or _ while referencing members.

Also:

  • Refactor some of the logic for the original missing $ diagnostic,
    so that a lot of logic can be shared between the two.

  • Rename the original fix and diagnostic to better reflect their purpose.

Resolves: SR-10928
Resolves: rdar://problem/51580712

…n member access

Detect and diagnose incorrect use of `$` or `_` while referencing members.

Also:

 - Refactor some of the logic for the original missing `$` diagnostic,
   so that a lot of logic can be shared between the two.

 - Rename the original fix and diagnostic to better reflect their purpose.

Resolves: [SR-10928](https://bugs.swift.org/browse/SR-10928)
Resolves: rdar://problem/51580712
@xedin xedin changed the title [Diagnostics] Add property wrapper diagnostic for unnecessary $/'_' i… [5.1][Diagnostics] Add property wrapper diagnostic for unnecessary $/'_' i… Jun 29, 2019
@xedin
Copy link
Contributor Author

xedin commented Jun 29, 2019

@swift-ci please test

@xedin xedin merged commit 0384700 into swiftlang:swift-5.1-branch Jun 29, 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.

2 participants