Skip to content

Commit 6117570

Browse files
authored
Merge pull request #39258 from DougGregor/remove-serialization-assert
2 parents 4164b2e + 04135a3 commit 6117570

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Serialization/Serialization.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,9 +1490,6 @@ void Serializer::writeASTBlockEntity(
14901490
++numValueWitnesses;
14911491
data.push_back(addDeclRef(req));
14921492
data.push_back(addDeclRef(witness.getDecl()));
1493-
assert(witness.getDecl() || req->getAttrs().hasAttribute<OptionalAttr>()
1494-
|| req->getAttrs().isUnavailable(req->getASTContext())
1495-
|| allowCompilerErrors());
14961493

14971494
// If there is no witness, we're done.
14981495
if (!witness.getDecl()) return;

0 commit comments

Comments
 (0)