Skip to content

Stop printing access on extensions and protocol requirements #18772

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 2 commits into from
Aug 17, 2018

Conversation

jrose-apple
Copy link
Contributor

@jrose-apple jrose-apple commented Aug 16, 2018

On extensions it's not really interesting (since it's just a default for the members), and for protocol requirements it's not something you can write in source at all.

SR-3540 / rdar://problem/26746605

This ends up meaning "don't print access attributes, then print access
uniformly on ValueDecls if you're not printing access attributes".
We might allow this at some point in the future, but for now we should
stick to the syntax that people write in source.

rdar://problem/26746605
@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@jrose-apple jrose-apple requested a review from nathawes August 16, 2018 23:03
Copy link
Contributor

@nathawes nathawes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Jordan!
LGTM.

@jrose-apple jrose-apple merged commit dd8b37e into swiftlang:master Aug 17, 2018
@jrose-apple jrose-apple deleted the access-denied branch August 17, 2018 01:25
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.

4 participants