Skip to content

sema: allow unavailable context to refer SPI-available decls #42080

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
Mar 29, 2022

Conversation

nkcsgexi
Copy link
Contributor

Decls with @_spi_available aren't hidden entirely from public interfaces,
thus public interfaces may still refer to them. Be forgiving for such cases so public
interfaces can compile.

rdar://90938725

@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@nkcsgexi nkcsgexi requested a review from xymus March 29, 2022 04:57
Decls with @_spi_available aren't hidden entirely from public interfaces,
thus public interfaces may still refer to them. Be forgiving for such cases so public
interfaces can compile.

rdar://90938725
@nkcsgexi
Copy link
Contributor Author

@swift-ci please test

@nkcsgexi nkcsgexi merged commit a49548c into swiftlang:main Mar 29, 2022
@nkcsgexi nkcsgexi deleted the 90938725 branch March 30, 2022 04: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.

1 participant