Skip to content

Conversation

@tshortli
Copy link
Contributor

@tshortli tshortli commented Sep 23, 2025

As a follow-up fix for #83545, avoid incorrectly diagnosing isolated deinit availability during module emission jobs, which skip type checking non-inlinable function bodies and therefore don't build accurate availability scopes for those bodies. It's ok to skip these diagnostics during module emission since they should still be emitted during compilation jobs.

Resolves rdar://161178785.

@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli enabled auto-merge September 23, 2025 18:42
@tshortli tshortli force-pushed the skip-isolated-deinit-availability-diags-during-emit-module branch from b098aca to be643cf Compare September 23, 2025 19:00
… bodies.

As a follow-up fix for swiftlang#83545, avoid
incorrectly diagnosing isolated deinit availability during module emission
jobs, which skip type checking non-inlinable function bodies and therefore
don't build accurate availability scopes for those bodies. It's ok to skip
these diagnostics during module emission since they should still be emitted
during compilation jobs.

Resolves rdar://161178785.
@tshortli tshortli force-pushed the skip-isolated-deinit-availability-diags-during-emit-module branch from be643cf to ec0f3e3 Compare September 23, 2025 19:01
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli merged commit 3b55b32 into swiftlang:main Sep 24, 2025
3 checks passed
@tshortli tshortli deleted the skip-isolated-deinit-availability-diags-during-emit-module branch September 24, 2025 00:40
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