Skip to content

Conversation

atrick
Copy link
Contributor

@atrick atrick commented Oct 6, 2025

Lifetime diagnostics may report an error within an implicit initializer or
accessor. The source location is misleading in these cases and causes much
consternation.

This is not directly tested because, normally, compiler generated methods should not generate any diagnostic errors. This does, however, occur periodically because of compiler bugs or unforeseen cases. We need the bug reports to contain useful information.

Lifetime diagnostics may report an error within an implicit initializer or
accessor. The source location is misleading in these cases and causes much
consternation.
@atrick
Copy link
Contributor Author

atrick commented Oct 6, 2025

@swift-ci smoke test

@atrick
Copy link
Contributor Author

atrick commented Oct 6, 2025

@swift-ci smoke test macOS

@atrick atrick enabled auto-merge October 6, 2025 18:26
@atrick atrick merged commit c2171ea into swiftlang:main Oct 6, 2025
3 checks passed
@atrick atrick deleted the lifedep-diag-init branch October 6, 2025 19:47
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.

1 participant