@@ -4106,9 +4106,6 @@ NOTE(protocol_witness_async_conflict,none,
4106
4106
ERROR(async_autoclosure_nonasync_function,none,
4107
4107
" 'async' autoclosure parameter in a non-'async' function" , ())
4108
4108
4109
- ERROR(asynchandler_attr_requires_concurrency,none,
4110
- " '@asyncHandler' is only valid when experimental concurrency is enabled" ,
4111
- ())
4112
4109
ERROR(asynchandler_non_func,none,
4113
4110
" '@asyncHandler' can only be applied to functions" ,
4114
4111
())
@@ -4141,15 +4138,17 @@ ERROR(satisfy_async_objc,none,
4141
4138
ERROR(async_objc_dynamic_self,none,
4142
4139
" asynchronous method returning 'Self' cannot be '@objc'" , ())
4143
4140
4144
- ERROR(actor_without_concurrency,none,
4145
- " 'actor' classes require experimental concurrency support" , ())
4146
4141
ERROR(actor_with_nonactor_superclass,none,
4147
4142
" actor class cannot inherit from non-actor class %0" , (DeclName))
4148
4143
4149
4144
ERROR(actor_isolated_non_self_reference,none,
4150
4145
" actor-isolated %0 %1 can only be referenced "
4151
4146
" %select{inside the actor|on 'self'}2" ,
4152
4147
(DescriptiveDeclKind, DeclName, bool ))
4148
+ ERROR(actor_isolated_self_independent_context,none,
4149
+ " actor-isolated %0 %1 can not be referenced from an "
4150
+ " '@actorIndependent' context" ,
4151
+ (DescriptiveDeclKind, DeclName))
4153
4152
WARNING(concurrent_access_local,none,
4154
4153
" local %0 %1 is unsafe to reference in code that may execute "
4155
4154
" concurrently" ,
@@ -4174,6 +4173,24 @@ NOTE(actor_isolated_witness_could_be_async_handler,none,
4174
4173
" did you mean to make it an asychronous handler?" ,
4175
4174
(DescriptiveDeclKind, DeclName))
4176
4175
4176
+ ERROR(actorisolated_let,none,
4177
+ " '@actorIsolated' is meaningless on 'let' declarations because "
4178
+ " they are immutable" ,
4179
+ ())
4180
+ ERROR(actorisolated_mutable_storage,none,
4181
+ " '@actorIsolated' can not be applied to stored properties" ,
4182
+ ())
4183
+ ERROR(actorisolated_local_var,none,
4184
+ " '@actorIsolated' can not be applied to local variables" ,
4185
+ ())
4186
+ ERROR(actorisolated_not_actor_member,none,
4187
+ " '@actorIsolated' can only be applied to actor members and "
4188
+ " global/static variables" ,
4189
+ ())
4190
+ ERROR(actorisolated_not_actor_instance_member,none,
4191
+ " '@actorIsolated' can only be applied to instance members of actors" ,
4192
+ ())
4193
+
4177
4194
// ------------------------------------------------------------------------------
4178
4195
// MARK: Type Check Types
4179
4196
// ------------------------------------------------------------------------------
0 commit comments