Skip to content

[span] express correct lifetimes for initializers #77548

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

glessard
Copy link
Contributor

@glessard glessard commented Nov 12, 2024

In the initial Span pull request (#76406,) the underscored initializers returned "immortal" instances due to a gap in the new parser. Now that the parser is fixed (swiftlang/swift-syntax#2894,) this annotates the initializers with the correct lifetime.

Addresses rdar://139668469

@glessard glessard requested a review from a team as a code owner November 12, 2024 04:36
@glessard
Copy link
Contributor Author

@swift-ci please smoke test

@glessard glessard changed the title [span] correctly express lifetimes for initializers [span] express correct lifetimes for initializers Nov 12, 2024
@glessard glessard requested review from meg-gupta and atrick November 12, 2024 04:37
@glessard glessard merged commit 54066b2 into swiftlang:main Nov 12, 2024
3 checks passed
@glessard glessard deleted the rdar139668469-not-immortal-vincible branch November 12, 2024 12:40
Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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