Skip to content

Commit

Permalink
Fix incomplete loading of TModels.
Browse files Browse the repository at this point in the history
  • Loading branch information
toinehartman committed Dec 19, 2024
1 parent 8a704ae commit 01e644c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ set[TModel] rascalTModels(set[loc] fs, PathConfig pcfg) {
ms = rascalTModelForLocs(toList(fs), ccfg, dummy_compile1);
set[TModel] tmodels = {};
for (m <- fs, modName := getModuleName(m, pcfg)) {
for (modName <- ms.moduleLocs) {
<found, tm, ms> = getTModelForModule(modName, ms);
if (!found) throw unexpectedFailure("Cannot read TModel for module \'<modName>\'\n<toString(ms.messages)>");
tmodels += tm;
Expand Down

0 comments on commit 01e644c

Please sign in to comment.