Skip to content

Commit

Permalink
Further improved message
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Mar 14, 2024
1 parent 4981929 commit 9b474bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/typepal/Collector.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ Collector newCollector(str modelName, map[str,Tree] namedTrees, TypePalConfig co
if(logicalLoc != def.defined){
if(my_logical2physical[logicalLoc]?){
if(my_logical2physical[logicalLoc] != def.defined){
messages += error("Remove code clone for <def.id> at <my_logical2physical[logicalLoc]> and <def.defined>", def.defined);
messages += error("Remove code clone for <prettyRole(def.idRole)> `<def.id>` at <my_logical2physical[logicalLoc]> and <def.defined>", def.defined);
}
}
my_logical2physical[logicalLoc] = def.defined;
Expand Down

0 comments on commit 9b474bd

Please sign in to comment.