Skip to content

[6.0] Sema: Fix incorrect use of STL iterator in associated type inference #74830

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

Conversation

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented Jun 28, 2024

6.0 cherry-pick of #74800

  • Description: Crash-on-invalid from forgetting to compare STL iterator with end().

  • Origination: Regression in Swift 6 associated type inference implementation.

  • Risk: Very low, because the old behavior was UB.

  • Radar: rdar://problem/127575477.

@slavapestov slavapestov requested a review from a team as a code owner June 28, 2024 20:28
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov slavapestov merged commit 4058a08 into swiftlang:release/6.0 Jun 29, 2024
5 checks passed
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