@@ -4493,8 +4493,8 @@ ERROR(actor_isolated_non_self_reference,none,
44934493 " from the main actor|from a non-isolated context}3" ,
44944494 (DescriptiveDeclKind, DeclName, unsigned , unsigned , Type))
44954495ERROR(distributed_actor_isolated_non_self_reference,none,
4496- " distributed actor-isolated %0 %1 can only be referenced inside the "
4497- " distributed actor " ,
4496+ " distributed actor-isolated %0 %1 can not be accessed from a "
4497+ " non-isolated context " ,
44984498 (DescriptiveDeclKind, DeclName))
44994499ERROR(distributed_actor_needs_explicit_distributed_import,none,
45004500 " '_Distributed' module not imported, required for 'distributed actor'" ,
@@ -4568,9 +4568,9 @@ ERROR(distributed_actor_isolated_method,none,
45684568ERROR(distributed_actor_func_param_not_codable,none,
45694569 " parameter '%0' of type %1 in %2 does not conform to '%3'" ,
45704570 (StringRef, Type, DescriptiveDeclKind, StringRef))
4571- ERROR(distributed_actor_func_result_not_codable ,none,
4572- " result type %0 of %1 does not conform to '%2 '" ,
4573- (Type, DescriptiveDeclKind, StringRef))
4571+ ERROR(distributed_actor_target_result_not_codable ,none,
4572+ " result type %0 of %1 %2 does not conform to '%3 '" ,
4573+ (Type, DescriptiveDeclKind, Identifier, StringRef))
45744574ERROR(distributed_actor_remote_func_implemented_manually,none,
45754575 " distributed instance method's %0 remote counterpart %1 cannot not be implemented manually." ,
45764576 (Identifier, Identifier))
@@ -4761,9 +4761,19 @@ ERROR(distributed_actor_user_defined_special_property,none,
47614761 " property %0 cannot be defined explicitly, as it conflicts with "
47624762 " distributed actor synthesized stored property" ,
47634763 (DeclName))
4764+ ERROR(distributed_property_can_only_be_computed_get_only,none,
4765+ " 'distributed' computed property %0 can only be have a 'get' implementation" ,
4766+ (DeclName))
4767+ ERROR(distributed_property_cannot_be_static,none,
4768+ " 'distributed' property %0 cannot be 'static'" ,
4769+ (DeclName))
4770+ ERROR(distributed_property_can_only_be_computed,none,
4771+ " static property %0 cannot be 'distributed', because it is not a computed "
4772+ " get-only property" ,
4773+ (DeclName))
47644774NOTE(distributed_actor_isolated_property,none,
4765- " distributed actor state is only available within the actor instance " , // TODO: reword in terms of isolation
4766- ())
4775+ " access to this property is only permitted within the distributed actor %0 " ,
4776+ (DeclName ))
47674777
47684778ERROR(concurrency_lib_missing,none,
47694779 " missing '%0' declaration, probably because the '_Concurrency' "
0 commit comments