diff --git a/include/swift/AST/Module.h b/include/swift/AST/Module.h index 3e5a3652949f1..9a9dd3b73a6f5 100644 --- a/include/swift/AST/Module.h +++ b/include/swift/AST/Module.h @@ -399,7 +399,6 @@ class ModuleDecl void setBypassResilience() { BypassResilience = true; } ArrayRef getFiles() { - ASSERT(!Files.empty() || failedToLoad()); return Files; } ArrayRef getFiles() const {