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 692575f commit 6c85fffCopy full SHA for 6c85fff
lib/SILGen/SILGenType.cpp
@@ -482,7 +482,9 @@ class SILGenConformance : public SILGenWitnessTable<SILGenConformance> {
482
if (witnessSerialized &&
483
fixmeWitnessHasLinkageThatNeedsToBePublic(witnessLinkage)) {
484
witnessLinkage = SILLinkage::Public;
485
- witnessSerialized = IsNotSerialized;
+ witnessSerialized = (SGM.M.getOptions().SILSerializeWitnessTables
486
+ ? IsSerialized
487
+ : IsNotSerialized);
488
} else {
489
// This is the "real" rule; the above case should go away once we
490
// figure out what's going on.
0 commit comments