Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/org/rascalmpl/compiler/lang/rascalcore/check/Import.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ ModuleStatus reportCycles(rel[MODID, PathRole, MODID]paths, rel[MODID,MODID] ext
//- by checking circular dependencies
// TODO: reuse enhancePathRelation from RascalConfig here
ModuleStatus completeModuleStatus(ModuleStatus ms){
paths = ms.paths;
pcfg = ms.pathConfig;
// extra safeguard against physical locations (due to erroneous packager)
paths = visit(ms.paths){
case loc l => moduleName2moduleId(getRascalModuleName(l,pcfg)) when !isModuleId(l)
}

ms = reportSelfImport(paths, ms);

Expand Down
Loading