Skip to content

[SE-0470] Include isolated conformance checks for default value expressions #81450

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

Conversation

DougGregor
Copy link
Member

Per SE-0411, we compute the isolation of a default value expression based on what isolation it requires. Include isolated conformance checks in this computation, rather than always emitting diagnostics, so that the combination of isolated default values + isolated conformances works as expected.

Fixes rdar://150691429.

…ssions

Per SE-0411, we compute the isolation of a default value expression
based on what isolation it requires. Include isolated conformance
checks in this computation, rather than always emitting diagnostics,
so that the combination of isolated default values + isolated
conformances works as expected.

Fixes rdar://150691429.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor enabled auto-merge May 12, 2025 16:49
@DougGregor DougGregor merged commit a3279af into swiftlang:main May 12, 2025
3 checks passed
@DougGregor DougGregor deleted the isolated-conformances-in-default-value-expressions branch May 13, 2025 04:18
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