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 592afe1 commit 77cbfdcCopy full SHA for 77cbfdc
lib/SILOptimizer/Utils/DistributedActor.cpp
@@ -48,12 +48,7 @@ void emitDistributedActorSystemWitnessCall(
48
OpenedExistentialAccess::Immutable);
49
}
50
51
- if (systemASTType->isTypeParameter() || systemASTType->is<ArchetypeType>()) {
52
- systemConfRef = ProtocolConformanceRef(DAS);
53
- } else {
54
- systemConfRef = lookupConformance(systemASTType, DAS);
55
- }
56
-
+ systemConfRef = lookupConformance(systemASTType, DAS);
57
assert(!systemConfRef.isInvalid() &&
58
"Missing conformance to `DistributedActorSystem`");
59
0 commit comments