We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d87f25 commit 3b5c2a1Copy full SHA for 3b5c2a1
lib/Sema/TypeCheckConcurrency.cpp
@@ -4943,7 +4943,7 @@ getIsolationFromWitnessedRequirements(ValueDecl *value) {
4943
// Substitute into the global actor type.
4944
auto conformance = std::get<0>(isolated);
4945
auto requirementSubs = SubstitutionMap::getProtocolSubstitutions(
4946
- conformance->getProtocol(), dc->getSelfTypeInContext(),
+ conformance->getProtocol(), dc->getSelfInterfaceType(),
4947
ProtocolConformanceRef(conformance));
4948
Type globalActor = isolation.getGlobalActor().subst(requirementSubs);
4949
if (!globalActorTypes.insert(globalActor->getCanonicalType()).second)
0 commit comments