We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
AnyFunctionType
1 parent f7de0ab commit 7bf78deCopy full SHA for 7bf78de
swift/extractor/mangler/SwiftMangler.cpp
@@ -314,9 +314,13 @@ SwiftMangledName SwiftMangler::visitAnyFunctionType(const swift::AnyFunctionType
314
if (type->hasGlobalActor()) {
315
ret << "_actor" << fetch(type->getGlobalActor());
316
}
317
- if (type->getIsolation().isErased()) {
+ const auto& isolation = type->getIsolation();
318
+ if (isolation.isErased()) {
319
ret << "_isolated";
320
321
+ if (isolation.isNonIsolatedCaller()) {
322
+ ret << "_nonisolatednonsending";
323
+ }
324
// TODO: see if this needs to be used in identifying types, if not it needs to be removed from
325
// type printing in the Swift compiler code
326
assert(type->hasExtInfo() && "type must have ext info");
0 commit comments