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 234260f commit b35be13Copy full SHA for b35be13
lib/IRGen/GenProto.cpp
@@ -2534,8 +2534,7 @@ void IRGenModule::emitSILWitnessTable(SILWitnessTable *wt) {
2534
IRGen.Opts.UseRelativeProtocolWitnessTables;
2535
if (useRelativeProtocolWitnessTable &&
2536
!conf->getConditionalRequirements().empty()) {
2537
- auto nominal = conf->getType()->getAnyNominal();
2538
- auto sig = nominal->getGenericSignatureOfContext();
+ auto sig = conf->getGenericSignature();
2539
sig->forEachParam([&](GenericTypeParamType *param, bool canonical) {
2540
if (param->isParameterPack()) {
2541
#ifndef NDEBUG
0 commit comments