Skip to content

Commit 4903b67

Browse files
committed
NFC: restore an assert I accidentally removed
1 parent 32a0ea8 commit 4903b67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Frontend/Frontend.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1498,8 +1498,8 @@ bool CompilerInstance::loadStdlibIfNeeded() {
14981498

14991499
// If we failed to load, we should have already diagnosed.
15001500
if (M->failedToLoad()) {
1501-
// assert(Diagnostics.hadAnyError() &&
1502-
// "Module failed to load but nothing was diagnosed?");
1501+
assert(Diagnostics.hadAnyError() &&
1502+
"stdlib module failed to load but nothing was diagnosed?");
15031503
return true;
15041504
}
15051505
return false;

0 commit comments

Comments
 (0)