[Serialization] Keep going after fatal errors in getAllWitnessTables

This commit is contained in:
Alexis Laferrière
2023-05-11 14:25:18 -07:00
parent f67f7e74f8
commit 478c653e7f

View File

@@ -3946,7 +3946,7 @@ void SILDeserializer::getAllWitnessTables() {
// import, it is safe to ignore for this function's purpose.
consumeError(maybeTable.takeError());
} else {
MF->fatal(maybeTable.takeError());
MF->diagnoseAndConsumeFatal(maybeTable.takeError());
}
}
}