Skip to content

Support bypassing resilience checks for package decls at use site in a package #71430

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 3 commits into from
Feb 14, 2024

Conversation

elsh
Copy link
Contributor

@elsh elsh commented Feb 7, 2024

By default package decls are treated as resilient, similar to public (non-frozen). This PR adds support to allow direct access to package decls at use site if opted-in. Requires the loaded module to be a binary module in the same package.

Resolves rdar://121626315

@elsh
Copy link
Contributor Author

elsh commented Feb 7, 2024

@swift-ci test

@elsh
Copy link
Contributor Author

elsh commented Feb 8, 2024

@swift-ci smoke test

@elsh
Copy link
Contributor Author

elsh commented Feb 8, 2024

@swift-ci smoke test

@elsh
Copy link
Contributor Author

elsh commented Feb 9, 2024

@swift-ci test

1 similar comment
@elsh
Copy link
Contributor Author

elsh commented Feb 9, 2024

@swift-ci test

elsh added 2 commits February 13, 2024 19:09
…a package.

By default package decls are treated as resilient, similar to public (non-frozen).
This PR adds support to allow direct access to package decls at use site if opted-in.
Requires the loaded module to be a binary module in the same package.

Resolves rdar://121626315
Update DeclContext::bypassResilienceInPackage.
@elsh
Copy link
Contributor Author

elsh commented Feb 14, 2024

@swift-ci smoke test

@elsh elsh merged commit 633051e into main Feb 14, 2024
@elsh elsh deleted the es-pkg-bypass branch February 14, 2024 22: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.

3 participants