Skip to content

Updates to initializers with explicit lifetime dependence #72303

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
Mar 14, 2024

Conversation

meg-gupta
Copy link
Contributor

Allow previously banned implicit return in such initializers
Allow parsing Self? return type in failable initializers with explicit lifetime dependence

…er with explicit lifetime dependence

Also, handle it similar to other initializers in SILGen and ASTVerifier
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta marked this pull request as ready for review March 13, 2024 22:16
@meg-gupta meg-gupta requested a review from atrick March 13, 2024 22:16
@meg-gupta meg-gupta merged commit 3d4457b into swiftlang:main Mar 14, 2024
@meg-gupta meg-gupta deleted the implicitreturn branch March 14, 2024 17:17
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.

2 participants