@@ -5916,9 +5916,12 @@ ERROR(global_actor_not_usable_from_inline,none,
59165916NOTE(move_global_actor_attr_to_storage_decl,none,
59175917 " move global actor attribute to %kind0" , (const ValueDecl *))
59185918
5919- ERROR(actor_isolation_multiple_attr ,none,
5919+ ERROR(actor_isolation_multiple_attr_2 ,none,
59205920 " %kind0 has multiple actor-isolation attributes ('%1' and '%2')" ,
59215921 (const Decl *, StringRef, StringRef))
5922+ ERROR(actor_isolation_multiple_attr_3,none,
5923+ " %0 %1 has multiple actor-isolation attributes ('%2', '%3' and '%4')" ,
5924+ (const Decl *, StringRef, StringRef, StringRef))
59225925ERROR(actor_isolation_override_mismatch,none,
59235926 " %0 %kind1 has different actor isolation from %2 overridden declaration" ,
59245927 (ActorIsolation, const ValueDecl *, ActorIsolation))
@@ -5936,6 +5939,16 @@ ERROR(async_unavailable_decl,none,
59365939 " %kindbase0 is unavailable from asynchronous contexts%select{|; %1}1" ,
59375940 (const ValueDecl *, StringRef))
59385941
5942+ ERROR(isolated_deinit_no_isolation,none,
5943+ " deinit is marked isolated, but containing class %0 is not isolated to an actor" ,
5944+ (DeclName))
5945+ ERROR(isolated_deinit_on_value_type,none,
5946+ " only classes and actors can have isolated deinit" ,
5947+ ())
5948+ ERROR(isolated_deinit_experimental,none,
5949+ " 'isolated' deinit requires frontend flag -enable-experimental-feature IsolatedDeinit "
5950+ " to enable the usage of this language feature" , ())
5951+
59395952// ------------------------------------------------------------------------------
59405953// MARK: String Processing
59415954// ------------------------------------------------------------------------------
0 commit comments