Skip to content

Commit

Permalink
Added extra check forbidding recheck of library module
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Nov 3, 2024
1 parent e479c11 commit f9e4b8a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,13 @@ ModuleStatus rascalTModelForLocs(
}
any_rsc_changed = any(m <- component, rsc_changed() in ms.status[m]);
any_from_lib = any(m <- component, rsc_not_found() in ms.status[m]);
all_tmodels_uptodate = true;
for(m <- component){
if(tpl_uptodate() notin ms.status[m] && checked() notin ms.status[m])
all_tmodels_uptodate = false;
}
recheckCond = !compatible_with_all_imports || any_rsc_changed || !all_tmodels_uptodate;
recheckCond = !any_from_lib && (!compatible_with_all_imports || any_rsc_changed || !all_tmodels_uptodate);
if(recheckCond){
if(ms.compilerConfig.verbose){
Expand Down

0 comments on commit f9e4b8a

Please sign in to comment.