Skip to content

[5.1] De-underscore @frozen, apply it to structs #25162

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

airspeedswift
Copy link
Member

5.1 version of #24185

There is some follow-up cleanup to be done in a subsequent PR to make enums and structs warn similarly, for now this leaves the previous inconsistency.

* De-underscore @Frozen for enums

* Add @Frozen for structs, deprecate @_fixed_layout for them

* Switch usage from _fixed_layout to frozen
@airspeedswift airspeedswift requested a review from jrose-apple May 31, 2019 01:24
@airspeedswift
Copy link
Member Author

@swift-ci please test

@airspeedswift airspeedswift merged commit 0660241 into swiftlang:swift-5.1-branch May 31, 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