File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -6299,6 +6299,22 @@ namespace {
6299
6299
break ;
6300
6300
}
6301
6301
}
6302
+ auto isolation = T->getIsolation ();
6303
+ switch (isolation.getKind ()) {
6304
+ case FunctionTypeIsolation::Kind::NonIsolated:
6305
+ case FunctionTypeIsolation::Kind::Parameter:
6306
+ break ;
6307
+ case FunctionTypeIsolation::Kind::GlobalActor:
6308
+ printRec (isolation.getGlobalActorType (),
6309
+ Label::always (" global_actor" ));
6310
+ break ;
6311
+ case FunctionTypeIsolation::Kind::Erased:
6312
+ printFlag (" @isolated(any)" );
6313
+ break ;
6314
+ case FunctionTypeIsolation::Kind::NonIsolatedCaller:
6315
+ printFlag (" @execution(caller)" );
6316
+ break ;
6317
+ }
6302
6318
}
6303
6319
if (Type globalActor = T->getGlobalActor ()) {
6304
6320
printFieldQuoted (globalActor.getString (), Label::always (" global_actor" ));
You can’t perform that action at this time.
0 commit comments