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 b41f32d commit b2ff3c9Copy full SHA for b2ff3c9
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