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 e5f706c commit 99ffedfCopy full SHA for 99ffedf
lib/Serialization/Serialization.cpp
@@ -3288,10 +3288,6 @@ class Serializer::DeclSerializer : public DeclVisitor<DeclSerializer> {
3288
binding->getNumPatternEntries(),
3289
initContextIDs);
3290
3291
- DeclContext *owningDC = nullptr;
3292
- if (binding->getDeclContext()->isTypeContext())
3293
- owningDC = binding->getDeclContext();
3294
-
3295
for (auto entryIdx : range(binding->getNumPatternEntries())) {
3296
writePattern(binding->getPattern(entryIdx));
3297
// Ignore initializer; external clients don't need to know about it.
0 commit comments