@@ -5883,9 +5883,12 @@ ERROR(global_actor_not_usable_from_inline,none,
58835883NOTE(move_global_actor_attr_to_storage_decl,none,
58845884 " move global actor attribute to %kind0" , (const ValueDecl *))
58855885
5886- ERROR(actor_isolation_multiple_attr ,none,
5886+ ERROR(actor_isolation_multiple_attr_2 ,none,
58875887 " %kind0 has multiple actor-isolation attributes ('%1' and '%2')" ,
58885888 (const Decl *, StringRef, StringRef))
5889+ ERROR(actor_isolation_multiple_attr_3,none,
5890+ " %0 %1 has multiple actor-isolation attributes ('%2', '%3' and '%4')" ,
5891+ (const Decl *, StringRef, StringRef, StringRef))
58895892ERROR(actor_isolation_override_mismatch,none,
58905893 " %0 %kind1 has different actor isolation from %2 overridden declaration" ,
58915894 (ActorIsolation, const ValueDecl *, ActorIsolation))
@@ -5902,6 +5905,14 @@ ERROR(async_named_decl_must_be_available_from_async,none,
59025905ERROR(async_unavailable_decl,none,
59035906 " %kindbase0 is unavailable from asynchronous contexts%select{|; %1}1" ,
59045907 (const ValueDecl *, StringRef))
5908+
5909+
5910+ ERROR(isolated_deinit_no_isolation,none,
5911+ " deinit is marked isolated, but containing class %0 is not isolated to an actor" ,
5912+ (DeclName))
5913+ ERROR(isolated_deinit_on_value_type,none,
5914+ " only classes and actors can have isolated deinit" ,
5915+ ())
59055916
59065917// ------------------------------------------------------------------------------
59075918// MARK: String Processing
0 commit comments