Skip to content

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

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

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.

@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

We don't current support property wrappers at the top level, so
error on them (rather than crashing later).
Fixes rdar://problem/51538524.
@DougGregor DougGregor force-pushed the property-wrappers-top-level-error branch from 4614121 to 02ff2ee Compare July 9, 2019 23:30
@DougGregor
Copy link
Member Author

Ugh, forgot the test!

@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

1 similar comment
@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

@DougGregor DougGregor merged commit 3954a4a into swiftlang:master Jul 10, 2019
@DougGregor DougGregor deleted the property-wrappers-top-level-error branch July 10, 2019 03:36
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