@@ -4496,8 +4496,8 @@ ERROR(actor_isolated_non_self_reference,none,
44964496 " from the main actor|from a non-isolated context}3" ,
44974497 (DescriptiveDeclKind, DeclName, unsigned , unsigned , Type))
44984498ERROR(distributed_actor_isolated_non_self_reference,none,
4499- " distributed actor-isolated %0 %1 can only be referenced inside the "
4500- " distributed actor " ,
4499+ " distributed actor-isolated %0 %1 can not be accessed from a "
4500+ " non-isolated context " ,
45014501 (DescriptiveDeclKind, DeclName))
45024502ERROR(distributed_actor_needs_explicit_distributed_import,none,
45034503 " '_Distributed' module not imported, required for 'distributed actor'" ,
@@ -4569,11 +4569,11 @@ ERROR(distributed_actor_isolated_method,none,
45694569 " only 'distributed' instance methods can be called on a potentially remote distributed actor" ,
45704570 ())
45714571ERROR(distributed_actor_func_param_not_codable,none,
4572- " parameter '%0' of type %1 in %2 does not conform to '%3'" ,
4572+ " parameter '%0' of type %1 in %2 does not conform to serialization requirement '%3'" ,
45734573 (StringRef, Type, DescriptiveDeclKind, StringRef))
4574- ERROR(distributed_actor_func_result_not_codable ,none,
4575- " result type %0 of %1 does not conform to '%2 '" ,
4576- (Type, DescriptiveDeclKind, StringRef))
4574+ ERROR(distributed_actor_target_result_not_codable ,none,
4575+ " result type %0 of %1 %2 does not conform to serialization requirement '%3 '" ,
4576+ (Type, DescriptiveDeclKind, Identifier, StringRef))
45774577ERROR(distributed_actor_remote_func_implemented_manually,none,
45784578 " distributed instance method's %0 remote counterpart %1 cannot not be implemented manually." ,
45794579 (Identifier, Identifier))
@@ -4764,9 +4764,18 @@ ERROR(distributed_actor_user_defined_special_property,none,
47644764 " property %0 cannot be defined explicitly, as it conflicts with "
47654765 " distributed actor synthesized stored property" ,
47664766 (DeclName))
4767+ ERROR(distributed_property_can_only_be_computed_get_only,none,
4768+ " 'distributed' computed property %0 cannot have setter" ,
4769+ (DeclName))
4770+ ERROR(distributed_property_cannot_be_static,none,
4771+ " 'distributed' property %0 cannot be 'static'" ,
4772+ (DeclName))
4773+ ERROR(distributed_property_can_only_be_computed,none,
4774+ " %0 %1 cannot be 'distributed', only computed properties can" ,
4775+ (DescriptiveDeclKind, DeclName))
47674776NOTE(distributed_actor_isolated_property,none,
4768- " distributed actor state is only available within the actor instance " , // TODO: reword in terms of isolation
4769- ())
4777+ " access to %0 %1 is only permitted within distributed actor %2 " ,
4778+ (DescriptiveDeclKind, DeclName, DeclName ))
47704779
47714780ERROR(concurrency_lib_missing,none,
47724781 " missing '%0' declaration, probably because the '_Concurrency' "
0 commit comments