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.
2 parents 8cfaaef + 6117570 commit 64f0540Copy full SHA for 64f0540
lib/Serialization/Serialization.cpp
@@ -1490,9 +1490,6 @@ void Serializer::writeASTBlockEntity(
1490
++numValueWitnesses;
1491
data.push_back(addDeclRef(req));
1492
data.push_back(addDeclRef(witness.getDecl()));
1493
- assert(witness.getDecl() || req->getAttrs().hasAttribute<OptionalAttr>()
1494
- || req->getAttrs().isUnavailable(req->getASTContext())
1495
- || allowCompilerErrors());
1496
1497
// If there is no witness, we're done.
1498
if (!witness.getDecl()) return;
0 commit comments