Skip to content

LifetimeDependence: fix a type checker crash on implicit init #81129

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
Apr 28, 2025

Conversation

atrick
Copy link
Contributor

@atrick atrick commented Apr 28, 2025

When the type checker diagnoses an error on an implicit initializer,
return immediately before handling its parameter to avoid an assert.

When the type checker diagnoses an error on an implicit initializer,
return immediately before handling its parameter to avoid an assert.
@atrick atrick requested a review from meg-gupta April 28, 2025 05:37
@atrick
Copy link
Contributor Author

atrick commented Apr 28, 2025

@swift-ci test

@atrick atrick enabled auto-merge April 28, 2025 05:37
@atrick atrick merged commit d26da38 into swiftlang:main Apr 28, 2025
5 checks passed
Copy link
Contributor

@meg-gupta meg-gupta left a comment

Choose a reason for hiding this comment

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

lgtm

@atrick atrick deleted the fix-default-init branch April 28, 2025 17:55
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