Skip to content

Add educational notes for actor isolation violations in conformances and overrides #79639

Open
@hborla

Description

@hborla

Description

Add educational notes for the following errors

actor_isolated_witness
actor_cannot_conform_to_global_actor_protocol
non_sendable_arg_into_actor
non_sendable_arg_exits_actor
non_sendable_param_in_witness
non_sendable_param_in_override
non_sendable_result_into_actor
non_sendable_result_exits_actor
non_sendable_result_in_witness
non_sendable_result_in_override
non_sendable_result_in_objc
non_sendable_property_exits_actor
non_sendable_property_into_actor
non_sendable_property_in_witness
non_sendable_property_in_override
non_sendable_property_in_objc

Many of these have the same underlying explanation and can probably share an educational note.

Additional information

No response

Metadata

Metadata

Assignees

Labels

concurrencyFeature: umbrella label for concurrency language featuresdiagnostics QoIBug: Diagnostics Quality of Implementationeducational notesEducational notes for diagnosticstask

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions