Skip to content

Conversation

@gottesmm
Copy link
Contributor

Specifically given a nominal type like the following:

@MainActor
struct Foo {
  @CustomActor var ns: NonSendableKlass
}

the isolation for ns should be CustomActor not MainActor.

rdar://160603379

…n inferring isolation.

Specifically given a nominal type like the following:

```swift
@mainactor
struct Foo {
  @CustomActor var ns: NonSendableKlass
}
```

the isolation for ns should be CustomActor not MainActor.

rdar://160603379
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

@gottesmm gottesmm enabled auto-merge October 22, 2025 16:34
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test linux platform

@gottesmm
Copy link
Contributor Author

@swift-ci test windows platform

2 similar comments
@gottesmm
Copy link
Contributor Author

@swift-ci test windows platform

@gottesmm
Copy link
Contributor Author

@swift-ci test windows platform

@gottesmm gottesmm merged commit 4946256 into swiftlang:main Oct 24, 2025
3 checks passed
@gottesmm gottesmm deleted the pr-a4b0eaddab3318c277ebf3a9080a8bcfc79a3ba6 branch October 24, 2025 02: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.

1 participant