Skip to content

Commit 478c653

Browse files
committed
[Serialization] Keep going after fatal errors in getAllWitnessTables
1 parent f67f7e7 commit 478c653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Serialization/DeserializeSIL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3946,7 +3946,7 @@ void SILDeserializer::getAllWitnessTables() {
39463946
// import, it is safe to ignore for this function's purpose.
39473947
consumeError(maybeTable.takeError());
39483948
} else {
3949-
MF->fatal(maybeTable.takeError());
3949+
MF->diagnoseAndConsumeFatal(maybeTable.takeError());
39503950
}
39513951
}
39523952
}

0 commit comments

Comments
 (0)