Skip to content

consider requirements of an underscored protocol to also be underscored #59480

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
Jun 16, 2022

Conversation

QuietMisdreavus
Copy link
Contributor

Resolves rdar://94336558

Right now, even though symbols with underscored names are considered as internal or private, protocols with underscored named do not currently hide their members. That is, if a protocol with an underscored name requires a type alias or static property, these symbols appear in the symbol graph even though they technically don't match the expected access level. This PR checks property conformances for symbols to see if they come from a protocol with an underscored name.

@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please smoke test

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