Skip to content

[5.1] [SE-0258] Diagnose uses of property wrappers in top-level code. #26052

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

DougGregor
Copy link
Member

We don't current support property wrappers at the top level, so
error on them (rather than crashing later).
Fixes rdar://problem/51538524.

We don't current support property wrappers at the top level, so
error on them (rather than crashing later).
Fixes rdar://problem/51538524.

(cherry picked from commit 02ff2ee)
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor merged commit d7f811d into swiftlang:swift-5.1-branch Jul 10, 2019
@DougGregor DougGregor deleted the property-wrappers-top-level-error-5.1 branch July 10, 2019 08:27
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