Skip to content

LifetimeDependenceScopeFixup: handle unsafe addressors #78587

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
Jan 12, 2025

Conversation

atrick
Copy link
Contributor

@atrick atrick commented Jan 11, 2025

Handle unsafe addressors just like projections of stored properties rather than
as separate variable accesses.

This encourages AccessPathWalker clients to handle enclosing mark_deps. In
some cases, it is necessary. The accessBaseWithScopes API now provides both
nested begin_access and mark_dependence.
Handle unsafe addressors just like projections of stored properties rather than
as separate variable accesses.
@atrick atrick requested a review from eeckstein as a code owner January 11, 2025 23:41
@atrick atrick requested review from meg-gupta and jckarter January 11, 2025 23:42
@atrick
Copy link
Contributor Author

atrick commented Jan 11, 2025

@swift-ci test

@atrick atrick enabled auto-merge January 11, 2025 23:43
@atrick atrick merged commit a3173a0 into swiftlang:main Jan 12, 2025
4 of 5 checks passed
@atrick atrick deleted the lifedep-unsafeadr-project branch January 12, 2025 07:15
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