Skip to content

[SE-0458] Implement "unsafe" effect for the for-in loop #79573

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
Feb 24, 2025

Conversation

DougGregor
Copy link
Member

Memory unsafety in the iteration part of the for-in loop (i.e., the part that works on the iterator) can be covered by the "unsafe" effect on the for..in loop, before the pattern.

Memory unsafety in the iteration part of the for-in loop (i.e., the part
that works on the iterator) can be covered by the "unsafe" effect on
the for..in loop, before the pattern.
@DougGregor
Copy link
Member Author

swiftlang/swift-syntax#2971

@swift-ci please smoke test

@DougGregor DougGregor merged commit 115abcb into swiftlang:main Feb 24, 2025
3 checks passed
@DougGregor DougGregor deleted the unsafe-for-in-loop branch February 24, 2025 22:49
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