Skip to content

Commit

Permalink
Removed premature return on errors in doSaveModule
Browse files Browse the repository at this point in the history
Fixes #2050
  • Loading branch information
PaulKlint committed Oct 10, 2024
1 parent 15da4d6 commit db5f820
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,13 +297,6 @@ ModuleStatus doSaveModule(set[str] component, map[str,set[str]] m_imports, map[s
return ms;
}

if(any(c <- component, error(_,_) <- ms.messages[c])){
// Commented out to make checker less noisy
// for(c <- component){
// iprintln(ms.messages[c]);
// }
return ms;
}
//println("doSaveModule: <qualifiedModuleName>, <imports>, <extends>, <moduleScopes>");
component_scopes = { getModuleScope(qualifiedModuleName, moduleScopes, pcfg) | qualifiedModuleName <- component };
set[loc] filteredModuleScopes = {};
Expand Down

0 comments on commit db5f820

Please sign in to comment.