nonisolated property wrappers #76725
Labels
actor isolation
Feature → concurrency: Actor isolation
compiler
The Swift compiler itself
concurrency
Feature: umbrella label for concurrency language features
feature
A feature request or implementation
property wrappers
Feature: property wrappers
swift evolution proposal needed
Flag → feature: A feature that warrants a Swift evolution proposal
Motivation
This isn't an area I understand very well. But it seems like nonisolated property wrappers should be possible if the underlying wrapper type is
Sendable
.Proposed solution
I think this code should be accepted. As is, it produces an error:
error: 'nonisolated' is not supported on properties with property wrappers
Alternatives considered
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: