Skip to content

[5.4][diagnostics] warn about future reservation of 'await' keyword #35208

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
Jan 6, 2021

Conversation

kavon
Copy link
Member

@kavon kavon commented Dec 23, 2020

Cherry-pick of 179474e from #35153 for 5.4 release.

We'd like to have this warning land in the 5.4 release to give folks a heads-up (and some assistance) in upgrading their code that uses await in certain contexts that would be parsed differently if concurrency extensions are enabled.

Resolves rdar://67000350

[concurrency] warn about future reservation of 'await' as contextual keyword
@kavon kavon added the r5.4 label Dec 23, 2020
@kavon kavon requested a review from DougGregor December 23, 2020 17:35
@kavon
Copy link
Member Author

kavon commented Dec 23, 2020

@swift-ci please test

@kavon
Copy link
Member Author

kavon commented Dec 23, 2020

@swift-ci Please Test Source Compatibility

@kavon kavon changed the title [5.4][concurrency] warn about future reservation of 'await' keyword [5.4][diagnostics] warn about future reservation of 'await' keyword Dec 23, 2020
@kavon
Copy link
Member Author

kavon commented Jan 6, 2021

@swift-ci please test macOS platform

@kavon kavon merged commit 7562adc into swiftlang:release/5.4 Jan 6, 2021
@kavon kavon deleted the warn-unescaped-await-5.4 branch January 6, 2021 20:25
@AnthonyLatsis AnthonyLatsis added swift 5.4 🍒 release cherry pick Flag: Release branch cherry picks labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants