Skip to content

Conversation

@xedin
Copy link
Contributor

@xedin xedin commented Dec 20, 2025

…tedintononisolated(nonsending)`

Inferred nonisolated from the context i.e. an extension should mark the member as @concurrent instead it should behave as nonisolated(nonsending) when NonisolatedNonsendingByDefault is enabled.

Resolves: rdar://157789572

Copy link
Contributor

@ktoso ktoso left a comment

Choose a reason for hiding this comment

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

Sounds right to me lgtm

@xedin
Copy link
Contributor Author

xedin commented Dec 20, 2025

@swift-ci please test

…ted` into `nonisolated(nonsending)`

Inferred `nonisolated` from the context i.e. an extension should
mark the member as `@concurrent` instead it should behave as
`nonisolated(nonsending)` when `NonisolatedNonsendingByDefault`
is enabled.

Resolves: rdar://157789572
@xedin
Copy link
Contributor Author

xedin commented Dec 20, 2025

I tweaked the condition slightly to cover ObjC functions as well and added a test-case.

@xedin
Copy link
Contributor Author

xedin commented Dec 20, 2025

@swift-ci please test

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.

3 participants