Skip to content

Conversation

@meg-gupta
Copy link
Contributor

@meg-gupta meg-gupta commented May 21, 2025

Explanation: While type substituting a conditionally ~Escapable type with an Escapable type, we have to drop lifetime dependencies from the function type. The newly constructed lifetime dependencies after dropping substituted dependencies was from a temporary whose lifetime is shorter than needed. Allocate it on the ASTContext like all other instances.

Scope: Effects conditionally non escapable types

Risk: Low

Main PR: #81678

Issue: rdar://151769354

Reviewer: @atrick

@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta marked this pull request as ready for review May 21, 2025 23:31
@meg-gupta meg-gupta requested a review from a team as a code owner May 21, 2025 23:31
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta requested a review from tbkka May 21, 2025 23:34
@meg-gupta meg-gupta merged commit b91b772 into swiftlang:release/6.2 May 27, 2025
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