@@ -5890,9 +5890,12 @@ ERROR(global_actor_not_usable_from_inline,none,
58905890NOTE(move_global_actor_attr_to_storage_decl,none,
58915891 " move global actor attribute to %kind0" , (const ValueDecl *))
58925892
5893- ERROR(actor_isolation_multiple_attr ,none,
5893+ ERROR(actor_isolation_multiple_attr_2 ,none,
58945894 " %kind0 has multiple actor-isolation attributes ('%1' and '%2')" ,
58955895 (const Decl *, StringRef, StringRef))
5896+ ERROR(actor_isolation_multiple_attr_3,none,
5897+ " %0 %1 has multiple actor-isolation attributes ('%2', '%3' and '%4')" ,
5898+ (const Decl *, StringRef, StringRef, StringRef))
58965899ERROR(actor_isolation_override_mismatch,none,
58975900 " %0 %kind1 has different actor isolation from %2 overridden declaration" ,
58985901 (ActorIsolation, const ValueDecl *, ActorIsolation))
@@ -5909,6 +5912,14 @@ ERROR(async_named_decl_must_be_available_from_async,none,
59095912ERROR(async_unavailable_decl,none,
59105913 " %kindbase0 is unavailable from asynchronous contexts%select{|; %1}1" ,
59115914 (const ValueDecl *, StringRef))
5915+
5916+
5917+ ERROR(isolated_deinit_no_isolation,none,
5918+ " deinit is marked isolated, but containing class %0 is not isolated to an actor" ,
5919+ (DeclName))
5920+ ERROR(isolated_deinit_on_value_type,none,
5921+ " only classes and actors can have isolated deinit" ,
5922+ ())
59125923
59135924// ------------------------------------------------------------------------------
59145925// MARK: String Processing
0 commit comments